Forums

Background-image issue with Modularity theme (5 posts)

  1. figuromo
    Member
    Posted 1 year ago #

    I am having issue with the background-image using Modularity theme.
    I have added a background-image to the .container class, it looks perfectly fine with the default setting. But when I took the sidebar out of certain pages, the background-image doesn't seem to tile anymore but only showing the top part.

    Here's my code. Any idea?

    body {color:#111;background: #000; font-family: Georgia, "Times New Roman", Times, serif;}
    .container {width:990px;margin:-140px auto; background-image:url(http://122.201.77.201/~singleor/wp-content/themes/modularity/images/sor_bg.jpg);
    }
  2. figuromo
    Member
    Posted 1 year ago #

    Oh, here's an example what it goes wrong
    http://122.201.77.201/~singleor/products-page/featured-specialty-single-origin/product-1/

    and on the homepage with sidebar is absolutely fine.
    http://122.201.77.201/~singleor/

  3. alchymyth
    The Sweeper
    Posted 1 year ago #

    the black is the background of the div #footer-wrap, which's position is different on the products page.

    in the products-page template, a closing div ( </div> ) seems to be missing before the call of the footer.

    http://validator.w3.org/check?uri=http%3A%2F%2F122.201.77.201%2F%7Esingleor%2Fproducts-page%2Ffeatured-specialty-single-origin%2Fproduct-1%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    try to fix this, and then check again.

  4. figuromo
    Member
    Posted 1 year ago #

    I don't think is in the products-page template, because it happens on any pages whenever I turn the sidebar off.
    It happens on "About" page too
    http://122.201.77.201/~singleor/about/

  5. alchymyth
    The Sweeper
    Posted 1 year ago #

    fine, than it might be in the page.php, or a 'no-sidebar' template, or the code after turning the sidebar off, is bugged.

    i can only give you some indication, as far as i interprete what i see in the browser, what to look for - you have total control and insight into all the template files of your theme - simply check them all to fix the fault.

    if you feel that the fault is in the original theme, contact the theme author/seller

Topic Closed

This topic has been closed to new replies.

About this Topic