WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Twenty Ten, align background to bottom? (5 posts)

  1. Uncite
    Member
    Posted 3 years ago #

    Hi :)

    I'm currently building a page using the Twenty Ten theme (WP V. 3.02, Twenty Ten V. 1.1), and I would like to be able to align the background image with the bottom. At the moment I can only do left, center, right.

    I only know very basic css, so I'm having a lot of troubles finding out if it's even possible, as it is incorporated into the editor, and if it is, then how?

    My page is located at: http://www.ToneScape.de

    Thanks a lot in advance - Morten.

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    try and edit style.css of your theme
    ('dashboard - appearance - editor' - select style.css from the list of the right);

    add background-position: center bottom!important; into this style:

    body {
    
    	line-height: 1;
    
    }

    so it would look like:

    body {
    
    	line-height: 1;
    background-position: center bottom!important;
    
    }

    the !important makes sure that this line is used, even if other styles for the same thing are somewhere else in the site.

    http://www.w3schools.com/css/css_background.asp

  3. Uncite
    Member
    Posted 3 years ago #

    YES!!!!! That worked like a charm. Thank you so much Alchymyth, you made my day :D

  4. the red bicycle
    Member
    Posted 3 years ago #

    Hi all, I have tried the same approach: changing the body css to position center Important! but no go....

    Perhaps in wp 3.1 this is no longer valid?

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Please post a new topic.

Topic Closed

This topic has been closed to new replies.

About this Topic