• Resolved shootingtime

    (@shootingtime)


    Hi guys.

    I am trying to shrink the space between the header and the content on my site …. http://shootingtime.com/new .

    I do have a child theme and have added this code which did shrink the space a little.

    .site-content article {
    padding-top: 0;
    }

    I am assuming that the file I need to change may be in the expound.css file. Now if my style.css of my child theme has this in it:

    /* =Imports styles from the parent theme
    ————————————————————– */
    @import url(‘../expound/style.css’);

    will it allow me to modify expound.css? Really need some help here.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author Konstantin Kovshenin

    (@kovshenin)

    Hey there! The link you provided leads to a non-existing page. Please make sure it’s published. Your padding-top rule looks good, you should put it at the bottom of your child theme’s style.css file, right underneath the @import rule.

    Hope that helps!

    Thread Starter shootingtime

    (@shootingtime)

    Thank you for the advice and the wonderful theme. The link was bad because that version of the website is live now. It can be found at http://shootingtime.com. I believe I resolved this issue by adding this code.

    .site-content .entry-content h1 {
    margin: 0;
    }

    Is that code used with the code I posted with the original question the best route to shrink the space?

    Thanks
    Corey

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    Corey, sure, that looks fine, though note that it may affect other h1 elements on the page (which is unlikely, unless you have multiple h1s in your post content). Cheers!

    Thread Starter shootingtime

    (@shootingtime)

    Thanks for your answer. It is great to see that you give support to the users of your awesome theme here on this forum. Have a great day!

    Hi.
    I am trying to reduce the space between the header (menu/logo) and the content (headline).

    I have the Evolve theme, and can’t figure out where or what to do. I have looked through other posts here, but non of the suggestions seems right for me.

    I am totally new with wordpress….Wll, websites at all actually.

    K.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Oh, thank you 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to reduce space between header and content’ is closed to new replies.