WordPress.org

Ready to get started?Download WordPress

Forums

Want to remove white space (5 posts)

  1. aclosetaffair
    Member
    Posted 6 months ago #

    How can I remove the white space below the main menu, above the content? There's about an inch of space before the page content begins and I would like to reduce it to about 4 mm.

    The theme I am using is Elucidate and I have a custom CSS option with jetpack. Here is the link to my site: aclosetaffair.com

    Any specific solutions would be greatly appreciated. I have read several threads for similar issues but none of the solutions offered have worked for me. Thanks in advance!

  2. xavortm
    Member
    Posted 6 months ago #

    The style that define this white space is written on line 744 in the theme style.css file. DO NOT edit there, but as you said, write safe custom css from the plugin or from a child theme.

    #masthead {
    	margin-bottom: 0;
    }

    One tip: i dont suggest you to change it to 0px :) I find it looking good at margin-bottom: 30px. (i work as designer/front-end dev if that could convince you)

  3. aclosetaffair
    Member
    Posted 6 months ago #

    Thank you xavortm.

    That is the type of solution I am looking for, but I put that in my CSS style sheet editor and nothing happened :( Was that the right thing to do? Do I have to write anything else with it?

    I have one more change in the editor that hides page titles. Does it matter where the new code is in relation to what's already in there?

  4. WP Sites - Brad Dalton
    Member
    Posted 6 months ago #

    At the end of the file.

  5. Waldoctg
    Member
    Posted 4 months ago #

    Yeah, I agree with aclosetaffair... this did not work (I put it in my child theme... Anyone else know how to do this properly?

Reply

You must log in to post.

About this Topic