Viewing 15 replies - 1 through 15 (of 15 total)
  • Hello @oliviervanhoudt,
    It’s happening because the menu is inside the .site class which has a padding like this:

    .site {
        max-width: 1153px;
        margin: 54px auto;
        padding: 54px 108px;
    }

    So what you can do is use absolute positioning to get the menu-bar full-width without any relation to the wrapper class .site, like this:

    #masthead {
        position: absolute;
        left: 0;
        right: 0;
    }

    This will cause the content of the site to overlap with the header, so to solve it you have to pull the content wrapper down using CSS margin:

    .site-content {
        margin-top: 320px;
    }

    Finally, your ribbon image on the side will also move out on the right side, so pull ribbon image inside, like this:

    .lintje-trans {
        position: absolute;
        top: 0;
        right: -90px;
        z-index: 1;
    }

    Hope this helps πŸ™‚

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    hi @otpidusprime !

    Thank you so much!

    maybe you can help me with another problem? ;D

    at the top of the page you see “poeliersbedrijf van hemert, het poeliersbedrijf wat met u meedenkt” and the 2 chicken heads.
    but above that there is a big white space..

    i want to make that white space smaller but still want my chicken heads to line up with my main menu, but cant really find how to accomplish that..

    greetings

    Olivier

    On the line number 1924 of your stylesheet, you have this code:

    .site {
        max-width: 1153px;
        margin: 54px auto;
        padding: 54px 108px;
    }

    So modify this code by reducing the top padding in order to reduce the white-space at the top:

    .site {
        max-width: 1153px;
        margin: 54px auto;
        padding: 15px 108px 54px 108px;  // top  right  bottom  left
    }

    As you can see i reduce the top padding from 54px to 15px in order to reduce the white-space, so adjust this value according to you to get your desired result.

    Hope this helps πŸ™‚

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    Thank you so much!

    @oliviervanhoudt glad i could help πŸ™‚

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    i have another problem @otpidusprime πŸ˜›

    the red star thing (lintje-trans) in the upper right corner is in different positions on different browsers/ desktops..

    Also the footer content is messed up in internet explorer

    is there a way to fix this?

    @oliviervanhoudt It works differently in others browser because you maybe using really old browsers. Internet explorer is a really old browser(max people do not use it anymore, as it has been replaced by Edge), so you dont have to worry about it. If you are still worried then you can target CSS to internet explorer only using:

    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
         /* IE10+ CSS styles go here */
    }

    And for other browsers i recommend you to update them. Because i check you site on Chrome, Firefox, Opera, Vivaldi, Edge and even on the Blisk Browser… Everything looks the same on all of them.

    If you have updated all of the browsers and still facing problems then, search for “browser specific CSS”, you will find a lot of results(specially on StackOverflow) to target browsers using CSS.

    Let me know if it helps πŸ™‚

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    Hello!

    i didn’t know but i’m using microsoft edge instead of internet explore.

    this is the problem i encountered on microssoft edge.

    https://snag.gy/TQB0rj.jpg

    do you see this problem on your ME to?

    greetings

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    Oke wow now i tried to delete lintje-trans ( the red star in the upper right corner) and now my whole background shifted up or something..

    you can still see a bit of the background at the top of the page :/

    help :O :'(

    otpidusprime

    (@otpidusprime)

    @oliviervanhoudt apologies for the delayed response.

    Seems like you have removed the star.

    Do you still need help with this?

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    @otpidusprime

    Hi man!
    i fixed it myself πŸ˜€ so that wont be necessary, still thanks for the offer πŸ™‚

    But i have another problem! if you take a look at my page you will see a thin white stripe at the top of the page above the blue logo.

    i tried to get rid of it but cant really find a way to accomplish my wishes πŸ˜›

    i hope you can help with this!

    Greetings

    otpidusprime

    (@otpidusprime)

    Hi man!
    i fixed it myself πŸ˜€ so that wont be necessary, still thanks for the offer πŸ™‚

    Glad to hear. πŸ™‚

    But i have another problem! if you take a look at my page you will see a thin white stripe at the top of the page above the blue logo.

    i tried to get rid of it but cant really find a way to accomplish my wishes πŸ˜›

    i hope you can help with this!

    I cannot see any white strip and no blue logo either. I suppose you fixed this yourself?

    Let me know πŸ™‚

    Again, apologies for the delayed response! This week has been very hectic for me. πŸ˜€

    Thread Starter oliviervanhoudt

    (@oliviervanhoudt)

    yeaaaah i fixed the white stripe!

    cant you see this?!
    https://snag.gy/ECdOJA.jpg
    there’s something wrong if you cant :O

    No problem man! πŸ™‚ you helped alot!!
    @otpidusprime

    otpidusprime

    (@otpidusprime)

    cant you see this?!
    https://snag.gy/ECdOJA.jpg
    there’s something wrong if you cant

    I dont understand? What cant i see?
    The black strip? or something else?

    otpidusprime

    (@otpidusprime)

    yeaaaah i fixed the white stripe!

    Glad to hear! πŸ™‚

    No problem man! πŸ™‚ you helped alot!!
    @otpidusprime

    Thanks for understanding and so glad i could help! πŸ™‚

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Increasing Menu size’ is closed to new replies.