WordPress.org

Forums

[resolved] what's wrong with my .css?? (13 posts)

  1. ejosborne
    Member
    Posted 2 years ago #

    i'm trying to make the white body background of my posts transparent.. what's wrong with the last .css entry that i put in? it doesn't work.

    http://www.ponymouth.co.uk

    thanks.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

  3. ejosborne
    Member
    Posted 2 years ago #

    yes i have i child theme and that's the one Im editing.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    That site is not using a child theme.

  5. ejosborne
    Member
    Posted 2 years ago #

    honestly i am. i have even just updated.. and nothing has changed.
    'twenty eleven child theme by ej osborne'
    i have the options on the screen to go back to twenty eleven or twenty ten on the theme screen.

  6. ejosborne
    Member
    Posted 2 years ago #

    .. if it helps.. my child theme is just a blank one that i add to, with the import rule at the top.
    this is my .css so far:

    [CSS moderated as per the Forum Rules.]

  7. JarretC
    Member
    Posted 2 years ago #

    Change #content to #primary

  8. ejosborne
    Member
    Posted 2 years ago #

    nope.. that doesn't work either.

  9. JarretC
    Member
    Posted 2 years ago #

    I just looked at the code for your site and the last section in your style.css still shows

    #content {
    background-color: transparent;
    }

    it should be

    #primary {
    background-color: transparent;
    }

    This works when I try it in Chrome 19 on Windows 7

  10. esmi
    Forum Moderator
    Posted 2 years ago #

    Start by naming your child theme's folder something other than style.css!

  11. ejosborne
    Member
    Posted 2 years ago #

    i've added that line again to the bottom and it's not working.. at least, i can't see it in the safari browser!

    can someone have a look for me??
    cheers.

  12. JarretC
    Member
    Posted 2 years ago #

    Its working on Safari 5.1.7 for me.

  13. ejosborne
    Member
    Posted 2 years ago #

    great.. thanks! it took several clearings of the cache for it to show up.

    thanks for your time.

    ej

Topic Closed

This topic has been closed to new replies.

About this Topic