当前位置:首页WP美化B2美化wordpress主题7b2主页大图搜索框美化

wordpress主题7b2主页大图搜索框美化

仅以7B2主题为演示,其他主题请自行修改。

wordpress主题7b2主页大图搜索框美化

wordpress主题7b2主页大图搜索框美化

[Gbuy id=’1756′]

1、将以下Html代堆放至主题模块中(主题设置-模块办理-自定义代码)

  1. &lA $ ] * s ~t;!--动态查找布景html代码开始-->
  2. <style>
  3. .poa {
  4. color: #f4| i j A e ~ Wf4f4;
  5. }
  6. p.home-banner-linkss.line-one1 { width: 80%; font-size: 14px; height:
  7. 20px; line-height: 20pA b 7 V \ ! m n ox; color:# l g 7 @ 3 #f4f4f4; text-shady @ L i ; 3ow: 0 2px 4px rgb(@ 4 z 6 0 L0 0 0
  8. / 27%); margin-top: 40px; text-align: center; }
  9. </style>
  10. <div id="page-wrapper">
  11. <div class="home-banner por"&W ~ Wgt;
  12. &i * C _lt;section class="section">
  13. &l` q D 7 y ,t;div class="video-wrapper"&Q $ U vgt;
  14. <video autoplay playsinline="" loop muted="" src="https://static.699pic.com/video/video-banner-v2.2.m\ c o = A \ , Yp4">
  15. </video>
  16. </div>
  17. &o B | _ Ult;div class="video-overlay">e , o
  18. </div>
  19. </section> <div class="wrapper poa" style="top: 0;left: 50%;margin-left: -600px;">
  20. <div classh b F . 1 -="h, b tome-banner-content Onecad_clearfixc 4 g 8 ] 4 l N +">
  21. <div class="slogan-text por fl">
  22. <p>GUIDEBOOK.TOP</p&gt- p _ ) \ A S Q a;
  23. <a href="" target="_blank">
  24. <i class="iblock poa corner" style="background:url(https://www.douzll.com/wp-content/themes/b2Jitheme/Center/Assets/images/hot.svg) no-repeat;"></i>
  25. </a>
  26. <p class="pr/ w i ; U x 0 /omote-sub-title line-one">
  27. 数字日子攻略-让工作学习日子更高效 </p>
  28. </div&M & } L ^ ] Y &gt;
  29. <f B o Z w/div>
  30. <div class="home-banner-search por searchv2-top-m">
  31. <div class="primary-menus" style=" width: 92%; position: unset;transform: translated p 4 d $ R h - g(1px, 1px);">
  32. <div class="search-types-cycles poa">
  33. <ul class="selects">
  34. <li data-target="search_1">
  35. 百度
  36. </li>
  37. <li data-target="search_2">
  38. Bing
  39. </li>
  40. <li data-target="search_3">
  41. 站内
  42. </li>
  43. &ltB A v y z !;li data-target="search_4" class="cuV w krrent"V _ R a K G N>
  44. 站内查找
  45. </li>
  46. <li data-target="search_5">
  47. 头条
  48. </li>
  49. <li data-target="search_6">
  50. 知乎
  51. </li>
  52. <li data-target="search_7">
  53. 360
  54. </li>
  55. </ul>
  56. </div> <div class="cont">
  57. <div class="left-cont">
  58. <form class="search hidden" id="search_1" action="https://www.baidu.com/s?wd="V % O : |
  59. method="get" target="_blank">
  60. <input type="text" name="wd" class="h A M { \ $search_baidu" plac& ~ \ W ] X ; $ veholdei R v Q 9 ` v r Gr="输入关键词 按回车查找">
  61. <button type="submit" name="" cla; & u Z 7 . U /ss="btn search_baidu">
  62. 百度查找
  63. </button>
  64. </form>
  65. <form class="seaW F b R ! u Z 0rc^ Y , G ? G 6h hidden" id="search_2" action="htt] M p Yps://, L Ucn.bing.# W % : ; X V Jcom/n 3 ] m ` S u tsearch?q="
  66. method="get" target="_blank">
  67. <input type="text" name="q" class="search_bing" placeholder="输入关键词 按回车查找">
  68. <button type="submit" naX - o N T Mme=| p } ="" class="btn search_bing">
  69. Bing查找
  70. </button>
  71. </form&O ] 7 F ] q v (gt;
  72. <form class="search hidden" id="search_3" action="https:/# 3 1 n M $ g/www.guidebook.top/?s="
  73. method="get" target="_blank">
  74. <input type="text" name="q" class="" placeE ^ k T Gholder="输入关键词 按回车查找"^ & m X & ` L>
  75. &I L q ? ;lt;button type="submit" name="" class="btn ">
  76. 站内查找
  77. </button>
  78. </form>
  79. <form class="search" id="search_4" action="hg l $ W w nttps://www.guideboK U S =ok.top/?s=" method="get"
  80. target="_blank"&gtu h 5 J G -;
  81. <input type="textb E _ W" name="s" class="s" placM _ B /eholder=F 2 l R 8 B k"输入关键词 按回车查找">
  82. <e v B N W 5 .button type="submit" name="k { T /" class="btn" >
  83. 站内查找
  84. </button>
  85. </form>
  86. <form class="search hidden" id="search_5" action="https://so.toutiao.com/search?dvp r Z V H G q }pf=pc&source=input&keyword="
  87. method="get" target="_blank">
  88. <input type="text" name="query" class="search_toutiao" plaS P Oceholder="输入关键词 按回车查找">
  89. <button typ6 s \ e * f N ne="submit" name="" class="btn search_toutiao">
  90. 头条查找
  91. </button>
  92. </^ Y F / v ! iform>
  93. <form clv d Fass="search hidden" id="search_6" action="https://www.zhihu.com/search?q="
  94. method="get" target="3 & w ! Z : g_blank">
  95. <input type="text" name="q" class="search_zhihu" placeholder="输入关键词 按回车查找">
  96. <button type="submit" name="" class="btn search_zhihu"i ! ) 4>
  97. 知乎查找
  98. </button>
  99. </form>
  100. <form class="search hidden" id="search_7" action="https://www.so.com/s?q="
  101. method="get" target=h # _ ^ @"_blank">
  102. <input type="text" name="qk 3 # ! x 1" class="search_360" placeholder="输入关键词 按回车查找">
  103. <button type="s9 G _ X N N 3ubmit" name="" class="btn search_360">
  104. 360查找
  105. </bu* x I . N ztton&g( D [ ; f a O ) Yt;
  106. </form>
  107. <a class="hot-top text-notify" href="https://nav.guidebookk ( [ C 4 J.top" target="_blank" tips="热门查找" direction="bottom">$ 5 # ~ % ? Q Q
  108. <img src="httpJ ` 0 \ % ^ \ b Os://www.douzll.com/wp-content/themes/b2Jitheme/Center/Assets/b 7 B i = _images/rank.svg" class="icon-rank" height="15">
  109. &l$ ? E x 3t;/a>
  110. </div>
  111. </div>
  112. </div>
  113. &lS . ct;p cl+ P e i ]ass="home-banner-links line-one">热搜词:<a href="https://nav.guidebook.t= Y V ? 5op " targeb $ ^ S # (t="_blank" >数字攻略导航&lt7 u n R q y n;/a[ H ` r><a href="https://search.guidebook.t, , f n `op " target="_blank" >查找攻略</S b y @ ( ^ pa></p>
  114. <p class="home-banner-linkss line-one1"&x f ~ qgt;</p>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. <script>
  120. /*主页动态大图查找开始*/
  121. (function($)V L = e I * E n{
  122. var m=$('.primary-menus');
  123. if(m.length<1) return;
  124. var ul=m.find('.selects');
  125. if(ul.le: V + F ~ u zngth<1) return;
  126. var lis=ul.children('li');
  127. if(lis.length<1) return;
  128. var s=m.find('.search');
  129. var sVP K - H d D ) wal=s.find('.s').val();
  130. lis.on('click',function () {
  131. var d=$(this).attr('data-target');
  132. if (d) {
  133. lis.removeCld 5 * $ Gass('current');
  134. $(this).addClass('current');
  135. s.addClass('hidden');
  136. s.filter('#'+d).removeCD p z O @ I 0 }lass('hidden');
  137. //s.filter('#'+d).find('.s'w E [ ~ 9 c).val('');
  138. s.filter('#'+d).find('.s').trigger('fob 9 ! Y L o + J :cusin');
  139. }
  140. });
  141. s.find('.s').on('foc# m f a X j | T vusin',function () {
  142. if (q @ g$(this).val()==sVal) {
  143. $(this).val(''N x K +);
  144. }
  145. })
  146. s.fin\ L W M 3 f C G ?d('.s').on('focusout'E ] x : U,function () {
  147. var v=$(this).val();
  148. if (orz.isEmpty(v)) {
  149. v=sVal;
  150. }
  151. s.find('.s').val(v);
  152. })
  153. }[ 6 A ^)(jQuery);
  154. /*主页动态大图查找完毕*/
  155. </script>
  156. <!-- 动态布景查找html代码完毕 -->

2、将下列CSS代堆放入WP额定CSS中(WP后台-外观-自定V z & t & , S C义-额定css)

  1. /*主页动态布景查找款式代码开始*/
  2. .search_360{
  3. color:#fff;
  4. backgrounG c m V qd-color:#28bc5b;
  5. }
  6. .search_baidu{
  7. color:#fff;
  8. background-color:#4E6EF2;
  9. }
  10. .search_bing{
  11. color:#fff;
  12. background-color:#ffc20e;
  13. }
  14. .search_toutiF Y 7 8 n p uao{
  15. color:#fff0 6 z % F t *;
  16. background-color:#f04142;
  17. }
  18. .seary ! % y `ch_zhihu{
  19. color:#fff;
  20. background-color:#06\ - t B J h _ ( &f;
  21. }
  22. #j } = \ A . E O jpage-wrapper {
  23. padding-bottom:16px;
  24. margin[ ? s-top:-85px
  25. }
  26. .home-banner {
  27. heig! 8 J ) C xht:550px;
  28. position:re; % u ( R |lative;
  29. /y r % C =* z-index:1; */
  30. background-position:0 100%;
  31. animation| G Q j:gradient 12s ease-in-o- X n b 0 =ut infinite;
  32. }
  33. .home-banner .section {
  34. position:relative;
  35. width:100%;
  36. overflow:hidden;
  37. max-height:55V d 6 + ; g p U0px;
  38. height:100vh
  39. }
  40. .home-banner .section .video-wrapper {
  41. display:flex;
  42. justify-content:center;
  43. align-items:center;
  44. width:100%;
  45. height:100%;
  46. position:absolute;
  47. overflow:hidden;
  48. z-indy e y p %ex:0
  49. }
  50. .home-banner .section .video-wrapper video {
  51. visibility:visible;
  52. pointer-events:noq 4 w unQ G h 3 J :e;
  53. posY u 1 \ition:absolute;
  54. top:50%;
  55. left:50%;
  56. transform:translate(-50%,-50%);
  57. hei% k k P a 5 Q Ight:100%;
  58. wi^ } I d f s J M `dth:100%;
  59. obZ v \ject-fit:cov0 q . O ~er
  60. }
  61. .home-banner .section .video-overlay {
  62. hC % M *eight:100%;
  63. width:100%;
  64. top:0;
  65. left:0;
  66. position:absolute;
  67. background:rgba(45$ o U,47,54,.15)
  68. }
  69. .home-banner .cornS e Rer {i ` 1 ^ , v W X y
  70. width: 28px;
  71. height: 21px;
  72. border-radius: 4px;# : J
  73. le6 a r + : |ft: 340px;
  74. top: 10px;
  75. }
  76. .home-baB 7 R O Z vnner .home-menus {
  77. margin-lG $ v S U 5 Oeft:70px
  78. }
  79. .home-banner .home-menus .cus-dropK X c 9 D x 9 e @box-tri\ = v m v . 1 wgger a,.home-banner .home-menus>a {
  80. color:#fff;
  81. font-size:14px;
  82. margin-right:20px;
  83. line-height:60px
  84. }
  85. .home-banner .home-menus .cus-dropbox-trigger a:hover,.home-banner .home-menus&X p L . P `gt;a:hover {
  86. color:var(--b2color);
  87. }
  88. .home-banner&gtg P F 0 c 8 d;.layout-\ \ Z m r M acenter {
  89. height:100%
  90. }
  91. .home-banner-content {
  92. padding-top: 130px;
  93. margin-E \ Jlefti ) \ 5 Z: 182px;
  94. margin-bottom: 30px;
  95. }
  96. .home-banner-cont) ? . dent .slogan-text p {
  97. font-size:18px;
  98. line-height:Z o p F [24px;
  99. letter-spacing:2px;
  100. font-weight: 600;
  101. text-sr ` $ Q Rhadow: 0 2px 4px rgba(0,0,0,.25);
  102. }
  103. .home-banner-contenS ^ ! 8 O $ A xt .slo\ c p 1gan-text p:nth-of-type(1) {
  104. font-weight:600;
  105. font-size:28px;
  106. linf m : S R R 9 ze-heig, * s m K } G .ht:46px;
  107. letter-spacing:6px;
  108. text-shadow:0 2px 4px rgba(0,0,0,.25);
  109. margin-bottom:20px
  110. }
  111. .home-banner-search {
  112. width:800px;
  113. margin-left:209px;
  114. height:auto
  115. }
  116. .home-banner-search .tag {
  117. position: absolute;
  118. rZ { xight: 1d b O V h00px;
  119. top: 0;
  120. padding: 15px 10px;
  121. }
  122. .hT \ : x & E Y tome-banner-search .tag a:hover {
  123. background: var(--b2color);
  124. c_ L E j P G z R (olor: #fff;
  125. }
  126. .home-banner-search .tag a {
  127. display: inline;
  128. padding: 0px 8px;
  129. border-radius: 10px;
  130. background: #EFEFEF;
  131. float: left;
  132. margin: 5px;
  133. height: 20px;
  134. line-heighi b Y Y E Tt: 20px;
  135. color: #A0A0A0;
  136. font-size: 12px;
  137. }
  138. /*.home-banner-search form {*/
  139. /* margin-bottom:10px;*/
  140. /*}*/
  141. .home-banner-search form>input {
  142. width:100%;
  143. heightv 0 X p s S V K ^: 50px;
  144. background:#ffT ; 8f;
  145. border:none;
  146. padding:18px 22px;
  147. font-size:14px;
  148. color:#33s \ E 8 G , h 7 I3;
  149. }
  150. .home-banner-search form>input::placeholder {
  151. color:#979797
  152. }
  153. .home-banner-search .hot-top {
  154. positi7 h 4 1 C N E ;on:absolute;
  155. top:13pW Y ) gx;] ! P ] [ ( X U
  156. right:115px;
  157. color: #000;
  158. font-size:13px
  159. }
  160. .home-banner-searcu % 6 C Y \ I 3h .hot-top i {
  161. margin-right:4px
  162. }
  163. .home-banner-search .hot-words-container,.homN H h S e { De-_ r 9 c ? u h abanner-search .rec-words-container {
  164. width:100%;
  165. top:56px
  166. }
  167. .home-banner-links {
  168. width: 80%;
  169. font-size: 14px;
  170. height: 40px;
  171. line4 6 v-height: 40px;
  172. text-shadow: 0 2px 4px rgba(0,0,0,.27);
  173. }
  174. .home-banner-links a {
  175. margin-right:19px;
  176. color:inherit
  177. }
  178. .home-banner-links a:hover {
  179. color:var(--b2color);
  180. }
  181. .home-banner .search-types-cycles {
  182. width:106px;
  183. height:290px;
  184. backg$ & 8 v k @ t . %round:lix h F rnear-grap 6 }dient(180deg,rgba(0,0,0,0) 0,rgb(255d ] = ? : k B 96 0 / 17%) 51.04%,rgK ( Iba(0,0,0,d I 0 t0) 100%);
  185. left:625px;
  186. top:-95px;
  187. text-align:center;
  188. z-iE x ~ & tndex:-1
  189. }
  190. .home-banner .search-types-cycles .search-typ8 g @ Ees-btn {
  191. width:100%;
  192. height:20px;
  193. line-height:20px;
  194. cursor:pointer;
  195. user-select:none;
  196. left:0;
  197. bottom:-20px;
  198. z-index:1
  199. }
  200. .homeH y D + Y i 2-banner .search-types-cycles .search-types-btn i {
  201. color:#fff;
  202. font-q 1 zsize:12px
  203. }
  204. .home-banner .sear~ _ & P ( T Qc^ F ? ( m ~h- Y c-types-cycles .search-tl I + % | U & Cypes-btn:nth-oR N 6 Uf-type(1) {
  205. bottom:auto;
  206. top:-20px
  207. }
  208. .home-banner .3 $ s ! M nsearch-types-cycles .search-types-btn:nth-of-type(1) i {
  209. transform:rotate(180deg)
  210. }
  211. .home-banner .search-types-cycles .search-types-btn:hover i {
  212. color:var(--b2cI e B T D q L q 9olor);
  213. }
  214. .home-banner .search-types-cycles; M { r K ^ ul {
  215. wid7 t [ 3 ` M m { 1th:100%;
  216. h^ * % ( :eight:100%;
  217. padding-top:5px
  218. }
  219. .home-banner .search-types-cycles ul:after,.home-banner .search-types-cycles ul:before {
  220. content:'';
  221. width:1px;
  222. heigh{ s ft:100%;
  223. disp] H v p . i }lay:block;
  224. positio? 4 % C N V wn:absolute;
  225. left:0;
  226. top:0;
  227. backgroD : l . P % $und:linear-gradient(0,transparent 0,var(--b2color) 50%,transparent 100%)
  228. }
  229. .home-banner .search-types-cycle: S w 5 7 m ! 9 gs ul:after {
  230. left:au2 5 +to;
  231. rightR D S z R S [ 0:0
  232. }
  233. .home-banner .search-types-cycles ulj ? % Y li {
  234. height:30p+ = e g H D f Ux !important;
  235. line-height:30px !important;
  236. font-size:16px;
  237. text-align:center;
  238. cursor:pointer;
  239. user-select:none
  240. }
  241. .home-bannG v ~ B g Qer .search-types-cycles ul li:hover {
  242. co{ | 7 I C _ &lo% Z } 5 vr:var(--b2color);
  243. }
  244. .home-ban| e ` = ] + ^ . 1ner .search-types-cycles ul li:nth-of-type(4) {
  245. height:60px!important;
  246. line-height:60px!important;
  247. }
  248. .home-banns 0 @er .search-types-cycles ul li a {
  249. color:rgba(25b r Y O k K b5,255,255,.6);
  250. transition:none
  251. }
  252. .home-banner .search-types-cyP : ( w E 2 5 @cles ul li a:hov* 1 A u Ser {
  253. color:var(--b2color);
  254. }
  255. .home? ! k 8 Y / ;-banner .search-types-cycles button:hover {
  256. background:#46dacf !important;
  257. opac_ 8 B city:1;
  258. transiG 8 u etion:opacity .2s
  259. }
  260. .home-banner .sea^ _ T C Urch-types-cycles button i {
  261. font-size:18px;
  262. color:#fff;
  263. margin-right:6px
  264. }
  265. .h8 E D ^ i r X J zome-banner .search-types-cycles button span {
  266. font-size:16px;
  267. color:#fff
  268. }
  269. .top-navs {
  270. width:100%;
  271. /* height:70px; */
  272. bottom: 0px;
  273. padding-top: 16px;
  274. left:0;
  275. /* padding:12px 0; */
  276. /* z-index:1; */
  277. backdrop-P k 1 V afilter: blur(10px);
  278. }
  279. .Z O Z e @ * Qtop-navs .top-navs-l {2 8 E q ( ` n \
  280. width: calc(100% - 180px);
  281. display+ - R Q z G F `:flex;
  282. justify-content:center;
  283. align-items:ce? w k ] Q U _ $ Qnter;
  284. margin:0 auto;
  285. border-right:1px solid rgb(255 255 255 / 10%)
  286. }
  287. .top-navs .top-navs-l-item {
  288. width:20%5 v a ) `;
  289. margin:0 18px;
  290. displayE [ f:flex;
  291. flex-dirW k - c p 6 m Z Gection:column;
  292. justify-content:center;
  293. alig; \ i b * \ 4n-items:ceE 6 T l x r A snter
  294. }
  295. .top-navs .top-na` x J = + nvs-l-item .top-navs-l-title; u H 6 ^ B a {
  296. font-weight:600;
  297. font-s% F w 3 c ; U Vize:18px;
  298. line-height:25px;
  299. h& ! Z H * ^ c Reightj i , ` G S ` ! b:25px;
  300. margin-bottom:12px;
  301. color:#fff;
  302. text-shadow:a % Y (1px 1px 1px #000
  303. }
  304. .; : ( Ftop-navs .tf 4 W 3 k n + zop-nS a M 6 , ^avs-l-item .top-navs-l-tit* P z U Z *le .wz {
  305. font-weight:600;
  306. font-size:18px;
  307. line-heib B } E i Cght:25V % L ( J 5px;
  308. height:25px;
  309. margin-bottom:12px;
  310. colo 8 E # t K } \or:d ( % R#fff;
  311. text-shadow:1px 1px 1px #000
  312. }
  313. .top-navs .top-navs-l-item .top-navs-l-title a i {
  314. font-size:34px;
  315. margin-right:8px;
  316. vertical-align:-4px
  317. }
  318. .top-navs .top-navs-l-item .top-navs-l-title a img {
  319. float:left;
  320. w2 2 S u 0idth:34px;
  321. height:34px;
  322. margin-right:8px;
  323. vertical-align:-4px;
  324. margin-top:W \ l R : L S O -5px;N F :
  325. }
  326. .top-navs .top-navs-l-item .top-navs-l-title a:hover {
  327. color:var(--b2color);
  328. }
  329. .top-E A u @ b H 2 e Gnavs .top-navs-l-item .top-navs-l-links {
  330. font-size:14px;
  331. line-height:20px;
  332. display:flex;
  333. justify-content:space-around;
  334. margin:0 -10px
  335. }
  336. .top-navs .top-navs-l-item .topQ L E + f-navs-L w I G 9 * w wl-links a {
  337. color:#fff;
  338. margin:0 10px;
  339. text-sha@ d 4 A . x O Pdow:1px 1pxk 2 q : F n 1px #000
  340. }
  341. .top-navs .top-navs-l-item .top-navs-l-links a:hover {
  342. color:var(--b2color);
  343. }
  344. .top-navs .top-navs-\ ^ i c & F _ Im {
  345. width:176px;
  346. heig+ 7 -hV \ \ / m 0 f v Ot:61px;
  347. boe ` w v | E Order-right:1px solid rgba(255,255,255,.25);
  348. padding:0 24px;
  349. dispA ? s `lay:none;
  350. flex-wrap:wrap;
  351. justify-content:space-around;
  352. align-items:center
  353. }
  354. .top-navs .top-navs-m a,.tq w s W eop-navs .top-navs-m p,.top-navs .top-navs-m>div {
  355. width:50%;
  356. text-align:center;
  357. color:#fff;
  358. font-size:14px;
  359. l~ a jine-height:20px;
  360. cursor:pointer;
  361. user-se; O C 9 q i 5lect:none;
  362. text-shadow:1px 1px 1px #000
  363. }
  364. .top-naP h a X P @ R Vvs .top-navs-m af ` W v ! $:hover,.top-navs .top-navs-m p:hover,.top-navs .top-navs-m>div:hover {
  365. color:var(--b2color);
  366. }
  367. .top-navs .top-navs-m div p,.top-navs .top-navs-m>a {
  368. margin-bottom: 25px;
  369. }
  370. .top-navs .top-navs-m div p {
  371. width:100%;
  372. margin-b= + t Lottom:0;
  373. margin-x a 8top:-20px
  374. }
  375. .top-navs .top-navs-m .top-navs-m-box {
  376. top:-16px;
  377. left:-72px;
  378. widtz T (h:15n V i M x . X .7px;
  379. height:66px;
  380. background:#444;
  381. border-radius:8px;
  382. padding:8p) k \ C L x - N rx 14px 0;
  383. dL I 3isplay:none;
  384. margin-top:-70px
  385. }
  386. .top-navs .top-navs-m .top-navs-m-box a {
  387. margin-bottom:9px
  388. }
  389. .top-navs .top-navs-m .top-navs-m-box a:hover {
  390. cD O # s 2 1 1 )on C 5 7 a & N ,lor:var(--b2color);
  391. }
  392. .top-navs .top-navs= 5 8 h / = B 0-r {
  393. width:176px
  394. }
  395. .top-navs .top-navs-r a {
  396. widtq @ ( | Ch:50%;
  397. pa= R D bdding-left:30px;
  398. text-align:center;
  399. }
  400. .top-navs .top-navs-r a i {
  401. font-size:36px;
  402. margin-bottom:1` ? \ % u d J j0px
  403. }
  404. .top-navs .top-navs-r img {
  405. height: 40px;
  406. width: 40px;
  407. margin-top: -3px;
  408. }
  409. .top-navs .top-navs-r a p {
  410. font-size:14px;
  411. line-h} C ] u C ) geight:40px;
  412. color:#fff;
  413. text-shadow:1px 1px 1px #000
  414. }
  415. .top-navs .top-navs-r a p:hover {
  416. color:var(-, B [-b2color);
  417. }
  418. .por {
  419. positi{ L ? G % w _on:relatY n =ive
  420. }
  421. .poa {
  422. po3 { Usition:absolute
  423. }
  424. .pof {
  425. po5 h R t . p q 3sition:fixed
  426. }
  427. .Onecad_clearfix:aq = 8 ( q r i xfter {
  428. content:'';
  429. clear:both;
  430. display:block;
  431. height:0;
  432. visibility:hiddz $ `en;
  433. font-size:0;
  434. line-height:0
  435. }
  436. .fl {
  437. float:left
  438. }
  439. .fr {
  440. float:right
  441. }
  442. .ove c w O { gh {
  443. overflow:hidden
  444. }
  445. .block {
  446. display:block
  447. }
  448. .icon-rank {
  449. width:auto;
  450. display:inline-block;
  451. border:none;
  452. overflow:hidden;
  453. vertical-align:-3px
  454. }
  455. img.icon-rt R ;ank {
  456. width:20px;
  457. heigW K e E H Cht:20px;
  458. margin-right:0px
  459. }
  460. a.hot-topO W C.text-notify:hover {
  461. co) $ a Q Llor:var(--b2color);
  462. }
  463. p.top-navs-lj A ( = 6 ! d ~ ;-title {
  464. margin-bottom:8px
  465. }
  466. .top-navs-l-title i{
  467. width:1eq % Sm;
  468. height:1em;
  469. float: left;
  470. }
  471. .left-cont{
  472. border: 5px solid rgb(255 255 255 / 18%);
  473. }
  474. .home-banner-search>forq @ g h @m>button {
  475. box-sizing:border-box;
  476. min-width:100px;
  477. transform:translateY(0px);
  478. font-size:15px;
  479. border-top-right-radius:3px;
  480. border-bottom-rz U C #ight-radius:3px;
  481. position:absolute} Z - L;
  482. right:1px;z K Q o p j
  483. top:0;
  484. z-index:1;
  485. border:1px solid #23d1c3;
  486. paddiw 2 Z 7 * = # d lng:0 15px;
  487. width:147px;
  488. height:56px;
  489. background:linear-gradiz % { q * | ment(90deg,#35eee3 0,#21cec0 100%);
  490. border-radius:0 8px 8px px 0;
  491. right:0;
  492. text-align:center;
  493. padk \ \ ^ e - !ding-left:25px;
  494. margin-right:-7px;
  495. bori * F j ! Dder-bottom-left-radius:1px;
  496. bor5 a H I = - +der-top-left-radius:1px
  497. }
  498. .home-banner-search .search.hidden {
  499. display:none
  500. }
  501. .primary-menus .left-cont button {
  502. heightp @ : O g 7 N =: 50px;
  503. box-sizing:border-box;
  504. min-width:100px;
  505. /* margin-left: 0px; */
  506. cursor:pointer;
  507. color? c @ d P 6 a 1 -:#fff;
  508. font-size:15px;
  509. line-height:40px;
  510. positi4 G 7on:absolute;
  511. right: 5px;
  512. top: 5px;
  513. border-radius:1px;
  514. padding:0 15px;
  515. widthT & . z n \:106px;
  516. transfory ? d % k qm:translateY(0px)} \ | 7 ^ Z 9;
  517. }
  518. .sl] @ 2 U J H * \ogan-text.por.fl {
  519. margin-left: 200px;
  520. text-alignY A j 1 v f s: center;
  521. margin-bottom: 20px;
  522. }
  523. @media sa 4 * 6 6 $ y Qcreen and (max-w; G Y R : 5 {idth:768px) {
  524. #page-w. v 9 7 + V ^rapper {
  525. d2 O M n ? # J % Tisplay:none
  526. }
  527. }
  528. /*主页动态布景查找款式代码完毕*/

3.在主题设置-惯例设置-头部html代码中引进以} ^ u e下js

  1. <script type='text/javascript' src='https://cdnjs.guidebook.top/b2/jquery.min.js'></script>
温馨提示:

文章标题:wordpress主题7b2主页大图搜索框美化

文章链接:https://www.aqzyl.cn/1755.html

更新时间:2022年10月22日

本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:779451579@qq.comm我们将第一时间处理!

资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。

所有资源仅限于参考和学习,版权归原作者所有,更多请阅读艾奇资源网络服务协议

本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:779451579@qq.comm我们将第一时间处理! 资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。 所有资源仅限于参考和学习,版权归原作者所有,更多请阅读艾奇资源网络服务协议

给TA打赏
共{{data.count}}人
人已打赏
B2美化WP美化

【7B2主题美化】首页N格样式

2022-9-24 23:09:17

WP美化

Zibll子比主题-独立下载页面美化

2022-9-24 23:17:28

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索