Forums

Problems with the page width (3 posts)

  1. xianapl
    Member
    Posted 6 months ago #

    Hello everyone,

    I have just finished my first WordPress site:

    http://www.tomeupinya.com

    For some reason the page went super wide and there was an horizontal scroll. I hid the scroll with the overflow function in CSS, but it still moves if some uses the arrows in the keyboard or, as my client, a Apple mouse.

    Does anyone know how to fix this? Any help woud be appreciated.

    Thanks!

  2. wspencer
    Member
    Posted 6 months ago #

    Taking a quick look in Firebug, it looks like your entire page is in a div called wrapper. The wrapper div includes 2 background images, positioned to the left and the right.

    1. You have no width defined for your page wrap
    2. Try something as simple as keeping your current wrapper div, but declaring a width of 100%. Then create a new div called "main-content" that holds the content of your pages. Just be sure to define the width of that div and center it inside the wrapper div

  3. xianapl
    Member
    Posted 6 months ago #

    Hi! Thanks for the quick response!

    Yes, it is a div, and I placed two images with CSS. I will try your instructions to see if it works (I am quite new to WordPress).

    Best,

Reply

You must log in to post.

About this Topic