WordPress.org

Support

Support » Themes and Templates » Edit CSS Or Use Page Template – trbl with formatting

Edit CSS Or Use Page Template – trbl with formatting

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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;
    }

    @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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit CSS Or Use Page Template – trbl with formatting’ is closed to new replies.
Skip to toolbar