WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
How to remove white space between menu and header image? (2 posts)

  1. muriller
    Member
    Posted 1 year ago #

    Hi, i am beginner in CSS code and i really need your help.
    This is my site muriller.com, and i have customized with tutorials and based on trial and error.

    I have searched, and searched in the style.css file the part where i can remove the space between the menu and image header and i cant find it.

    I tried to change the values in this line img.header-image {, adding margin-bottom, margin-top and padding-bottom and padding-top with differente values and nothing happens.

    I tried with differents lines like this, thinking that these could be, adding and moving the same codes that i wrote before, and i cant change

    .main-navigation ul.nav-menu,
    	.main-navigation div.nav-menu > ul {

    Note: i have the child theme of twenty twelve

    Thank you so much for your help, and greetings from Mexico

  2. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    .site-header {
     padding-top: 0;
    }
    
    .main-navigation {
     margin-top: 0;
    }
    
    .header-image {
     float: left;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic