Styling your drop down text

With the basic wordpress install, you are able to nicely style the menu colors etc, but I have run into a problem several times where I use the same color to highlight which page I am on as the color of the background of my dropdown. So if I had a blue nav bar, my menu text is white, my page highlight is white bold and my dropdown menu is white then what happens is if you are on a page in your dropdown, the menu option vanishes into the background.

So what can you do about this?

Looking at the current page item you see this code:

#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
color: #ededed;
font-weight:bold;
}

So all you need to do is add an extra ul in there so you are now controlling the color of the drop down text. Just like this:

#access ul ul li.current_page_item > a,
#access ul ul li.current-menu-ancestor > a
#access ul ul li.current-menu-item > a,
#access ul ul li.current-menu-parent > a {
color: #3579a6;
font-weight:bold;
}

That should solve your problem.

Once my new website is live, how do I get on Google?

By Dave Fogel | September 3, 2020

After your website is live, we will submit your website to be crawled or indexed by Google. You will see it appear typically in a few weeks. If you are looking to get on the first page of Google, you will need search engine optimization.

What is involved in selling things online? (e-commerce)

By Dave Fogel | September 3, 2020

There are many options out there for e-commerce websites. WordPress/WooCommerce, Shopify, 3d Cart, Big Commerce, and many more. We have experience working with the most popular ones. They all have their advantages and disadvantages. While WooCommerce is free to download, there are many paid add-ons required to start selling products online. You will need a…

What about Website Hosting?

By Dave Fogel | September 3, 2020

When you have a website, it needs to live somewhere on the web – this is what website hosting is. Website hosting can range anywhere from $3 a month to $99+. Not all website hosting is created equal. Budget hosting plans from places like Hostgator or Go Daddy get the job done … barely. You…

Posted in

Dave Fogel

Leave a Comment