CCS Changes works in Web Inspector but not when copying the CSS Code in my theme

  • Unknown's avatar

    Hey there,
    I dont know much about CSS, but I try to learn about it. So I checked the several helping forums, watched videos etc…
    Now I found out where the web inspector is, I found the CSS code and I changed it in the web inspector. There it worked and could see the change on my blog. But when I copied the css in my css editor the changes couldnt be saved.

    The blog I need help for is: http://www.sawiartphotography.com
    I wanted to center the text and pictures in my sidebar, so I used for example this css:

    .widget ol li {
    line-height: 1.8;
    list-style: none;
    margin: .385em 0;
    text-align: center;
    }

    Thanks for your help!
    Sandy

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The only CSS code that works here is limited. Don’t develop it outside of WP.com as it will not work.

  • Unknown's avatar

    Mausi, what do you exactly mean by “couldn’t be saved”. Do you get any error message?

  • Unknown's avatar

    I’m also assuming you have the upgrade. If you don’t, it will never work.

  • Unknown's avatar

    Yes I have the upgrade…and its not a new css code…I found it in a forum.
    There is no error message, but it’s just not saved when I leave the editor. Then my widget text is not centered but aligned on the left side (sorry…dont know if that is the right english expression).
    Can somebody tell me the right CSS Code for that? I want to have all widget texts and pictures centered.
    Thanks a lot!

  • Unknown's avatar

    I dont know what happened, but it worked with the text. Now only the pictures need to be centered…

  • Unknown's avatar

    Hi there and congratulations. I’m seeing virtually everything in your sidebar centered with the exception of the OfG badge. The following sizes it so that it fits the sidebar area and centers the image.

    #image-3 img {
        margin-left: 5px;
        width: 100%;
    }
  • The topic ‘CCS Changes works in Web Inspector but not when copying the CSS Code in my theme’ is closed to new replies.