WordPress.org

Ready to get started?Download WordPress

Forums

Edit CSS Or Use Page Template - trbl with formatting (3 posts)

  1. mangozilla
    Member
    Posted 3 years ago #

    I've created a custom page template based on an html template, but not getting the results I'm looking for. The site is live at etrumpetlessons.com.
    The background image is what I'm after, but I don't have the editing options I should have. For example, the image align functions don't work, as well as some text formatting functions. I think I've prevented the CSS from being called in, but for whatever reason, the page is a mess.

    My alternate strategy is to adjust the theme itself. I'm taking my first stab on a local installation at using CSS to modify the theme (TwentyTen). I can call in the header and footer images, but can't get the repeating background for the content to come through. See screen cap at http://drop.io/eTrumpet#. The content area is wider than my background image.

    Im my CSS I have both:

    #wrapper {
    background: #fff url('background.jpg');
    background-position: center;
    background-repeat: repeat-y

    and

    #content {
    margin-bottom: 36px;
    background-image:url('background.jpg');
    background-repeat:repeat-y;

    So 2 questions:
    1. Which of my so far unsuccessful attempts is the right approach?
    2. Where am I going wrong?

  2. curlybracket
    Member
    Posted 3 years ago #

    I can't see a div with the ID content in your code. What I see is a div with a class content.
    so your code should be

    .content {
    margin-bottom: 36px;
    background-image:url('background.jpg');
    background-repeat:repeat-y;
    }

  3. mangozilla
    Member
    Posted 3 years ago #

    @veganist- yes, as in my original description. I tried that on my local installation but I'm not getting the result. See the link to the image for a visual.

Topic Closed

This topic has been closed to new replies.

About this Topic