Nav链接 - 色的背景 [英] Nav Link - Coloured Background
本文介绍了Nav链接 - 色的背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的wordpress网站自定义导航栏有一个获取演示菜单的周围的颜色,你可以看看网站在下面的链接
I am looking to customize navigation bar on my wordpress site to have a Surrounding colour for a 'Get a demo' Menu, you can have a look at website in the below link
我如何在我的WordPress网站实现相同?
How can i achieve the same in my WordPress site?
任何帮助这将非常感谢!
Any help with this would be greatly appreciated!
Gareth
推荐答案
您可以通过添加 background-color:#DC286D;
You can do this by adding background-color: #DC286D;
to the header-login-nav
in the css.
#header-login-nav
{
padding-right: 10px;
padding-left: 10px;
background-color: #DC286D;
}
所以在你的wordpress网站上,你需要在导航类/ id(这将取决于您的主题)。
So on your wordpress site, you would need to change it on the navigation class/id (it would depend on your theme).
编辑:
#menu-main-menu
{
background-color: #000 !important;
}
这篇关于Nav链接 - 色的背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文