WordPress.org

Support

Support » Themes and Templates » [Resolved] Website background width extends strangely

[Resolved] Website background width extends strangely

  • yandoos
    Participant

    @yandoos

    Hiya I’m not sure if you can help me but when I view the website on a smart phone the background (lightish grey) seems to extend about 50% extra the width of the entire website to the right. Theres no overflow scroll bar and the css says overflow is hidden anyway.

    Any idea why this is or how I can fix this please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • WPyogi
    Forum Moderator

    @wpyogi

    Please post a link to your site so someone can see what the problem may be.

    yandoos
    Participant

    @yandoos

    https://the-powerofyou.co.uk

    It works fine on a computer but when I try it on a HTC or Samsung galaxy the background seems to extend.

    Thank you

    Andrew Nevins
    Forum moderator

    @anevins

    Isn’t that just because of your social icons at the top?

    yandoos
    Participant

    @yandoos

    Yes your right! I’ve just removed them and the width is fine… Thats strange. Could it be that the divs for the social buttons are too wide? They are set to 100%. I thought they would not overflow…

    yandoos
    Participant

    @yandoos

    I set the div as a fixed px and it works fine now… I guess it was because the div may have been originally set as % but it was also set as absolute?

    Thank you very much for you help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Website background width extends strangely’ is closed to new replies.