If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • #189419

    I would like to change the background color over/active of Secondary Menu
    how can I do? thanks


    Hi tizmik!

    You can add this on your custom.css or Quick CSS:

    #top .sub_menu>ul>li:hover {
    	background: red;
    	display: block;
    	float: left;
    	height: 30px;
    	padding: 10px 10px;
    	position: relative;
    	top: -11px;



    thanks Ismael,
    I tried, but blind in the sub-menu is superimposed on the menu.
    By changing “top: -11px” move together, you have other suggestions?



    Can you please give us a link to the website? Please add this line of code to move the drop down a bit below:

    #top .sub_menu li ul {
    top: 30px;



    perfect! ……. You can also a style for active?

    I would also have another question, you can put a background image in the Main Content excluding the home page?

    I wish the pages had a background image, but not in the home.

    thanks for the help



    You forgot to post the link to your website so i think you are using boxed layout with background image. If so, please go to Appearance > Editor and open Header.php file and find

    <html <?php language_attributes(); ?> class="<?php echo " html_$style ".$responsive." ".$headerS;?> ">

    and change it to

    <html <?php language_attributes(); ?> class="<?php echo " html_$style ".$responsive." ".$headerS;?> " style="<?php if(is_page(734)) { echo 'background: none;'; } ?>">



    In second line you need to change page id ( which is 734 in the code i posted. that is page ID of homepage on my installation ) with your homepage’s page ID. Please see this post to learn how to find page ID’s using developer tools http://www.kriesi.at/support/topic/mini-heading-in-page/#post-188120

    Best regards,


    sorry, the site is not online, I send you a picture.
    we are using stretched layout.

    I would like the background of the home was white, then some pages I would like a background image.

    thanks for the help



    Please add following code to Quick CSS

    .home .content { background: none!important; }

    If that does not work, please post the link to your website when you launch it



    I tried, but it does not work.
    this is the link,
    the background image is loaded in the main content and is visible both in the home and in the sample page, if possible, I would like to delete it from home, thanks again ….



    Please add following code to Quick CSS

    .home .main_color { background: none!important; }



    successful modification
    thank you very much

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘change color background Enfold Secondary Menu’ is closed to new replies.