• Resolved yasharozov

    (@yasharozov)


    Hi,
    Ive inserted a background image into my current theme. since i want it to work with multiple resolutions, horizantally it is rather wide. Automatically a horizantal scrollbar appears at the bottom of all pages. I would like this to be off by default since all relevant content will appear anyway with or without a scrollbar. What code should i insert and where? Thanks, Yasha

    see:
    https://arielabrin.com/wp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Add overflow property to the body.

    body { background: url(https://arielabrin.com/wp/wp-content/uploads/images/website_inner.jpg) no-repeat; color: #333; font: 62.5% verdana; text-align: center; overflow: hidden; }

    That did it for me, when testing in FF.

    Thread Starter yasharozov

    (@yasharozov)

    mmm…that eliminates horizantal and vertical scrollbars. how do i eliminate on horizontal. vertically ive got content of different lengths..thx

    Thread Starter yasharozov

    (@yasharozov)

    ok, i solved it by –
    …..overflow-y: scroll; overflow-x: hidden;}

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Eliminating a horizontal scroll bar.’ is closed to new replies.