Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34108
    Phuong
    Member

    Hi Sakin,

    Could you please help with this http://duhocnhatban.drchau.net/?page_id=187 ?

    Here is my current settings:


    @media
    screen and (min-width: 1080px) {
    #primary { width: 660px; }
    #secondary { width: 240px; }

    #header-menu ul.menu a {
    line-height: 35px;
    padding: 0;
    padding-left: 12px;
    padding-right: 12px;
    }

    #header-menu ul.menu ul a {
    line-height: 35px;
    padding: 0;
    padding-left: 12px;
    padding-right: 12px;

    }
    }

    Thank you very much in advance,

    #34153
    Sakin
    Keymaster

    @Phuong: You need to add the following css inside your media.

    #header-menu ul.menu ul {
        top: 35px;
    }

    Now your custom css should look like below:

    @media screen and (min-width: 1080px) {
    	#primary { width: 660px; }
    	#secondary { width: 240px; }
    	#header-menu ul.menu a {
    		line-height: 35px;
    		padding: 0;
    		padding-left: 12px;
    		padding-right: 12px;
    	}
    	#header-menu ul.menu ul a {
    		line-height: 35px;
    		padding: 0;
    		padding-left: 12px;
    		padding-right: 12px;
    	}
    	#header-menu ul.menu ul {
    		top: 35px;
    	}	
    }
    #34174
    Phuong
    Member

    thanks a lot

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘space between menu and submenu’ is closed to new replies.