如何在WordPress菜单栏中添加2条条纹?

我正在设计一个网页, 我想知道如何在徽标上方的菜单栏上添加两个条纹, 在两个条纹之间留一个空格。

我正在尝试使第一个条纹比第二个更粗。

我为此使用Divi + CSS。

我已附上一张图片, 以显示我如何尝试使菜单栏外观。

菜单

谢谢


#1


header{border-top:10px solid grey; position:relative;}
header:after{content:''; position:absolute; left:0; top:15px; width:100%; height:5px; background:grey;}

希望你正在寻找这样的东西。

来源:

https://www.srcmini02.com/63069.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_42013.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?