Decreasing space between header and content on homepage

  • Posted in : Readme
  • lisefund
    Participant

    Hi! I would love to decrease the space between the header logo on my homepage and the slider beneath it. Could you let me know how best to handle that?

    Best,
    Sara

    serkan
    Moderator

    Hi Sara,
    You can try to use these custom css codes;

    .home .entry-content { padding-top: 0; }
    @media screen and (min-width: 768px) {
    .is-header-fixed #main { top: 20px; } }

    Thanks

    lisefund
    Participant

    Hi Serkan!

    Thanks for the quick reply!

    Unfortunately that does not seem to tighten the space between the slider and the header– is there something I can add to it or something else I can try?

    Thanks!

    serkan
    Moderator

    Hi @lisefund
    The code I provided works very well. When I checked your website, I see that you wrote the wrong custom css code in the css box. Please paste the code correctly.
    The code you write looks like this;

    .home .entry-content
    @media screen and (min-width: 768px) {
    .is-header-fixed #main }

    Thanks

    lisefund
    Participant

    Thank you for checking that!!

    It works perfectly! thank you again!

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register