Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #929941

    Hi

    on https://bxr9zk.myraidbox.de/metroslider I am using a slider that is new to me, but a friend of mine asked for that one particularly. It workes great, but what drives me crazy is the margin on top of the page. Since he wants the menu to appear only when a visitor scrolls, I have set the header to “show on scroll down”. I have tried several solutions from the forum, but none seemed to work for that case. How can I set the the top margin to cero or negative only on this single site?

    Thanks for your kind help
    Sebastian.

    #930031

    Hey Sebastian,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    #top.home #main {
        margin-top: -50px;
    }
    

    Best regards,
    Vinay

    #933050

    Hi Vinay,

    thanks for coming back on my issue, but unfortunately this did not solve it. There is still a .content “padding-top: 50px” somewhere, all attempt to get rid of this entry failed.

    Any other idea how to remove the top margin from https://bxr9zk.myraidbox.de/start/ is welcome, thanks.

    Cheers, Sebastian

    #933260

    Hi,

    I checked your site and did not find the code provided earlier. Please add the code and refresh the page a few times.

    When I manually tested the code on your site it works as intended. Please see screenshot attached.

    Best regards,
    Vinay

    #933628

    great, thanks. It was indeed a caching issue. Now it looks as supposed.
    Mission completed.

    Best regards, Sebastian.

    #933654

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove top margin with header set to show on scroll’ is closed to new replies.