Problem Editing Ocean Mist

  • Unknown's avatar

    Hi, i’ve selected ‘Ocean Mist’ theme…. gone to Edit CSS and selected ‘Add to stylesheet’ but when I paste the code exactly the same as it was, it seems to take off the border and some of the formatting?? please help.

    pinkjellybaby.wordpress.com

  • Unknown's avatar

    What code are you posting? If you select ‘Add to Stylesheet’ you only need to add code for the things you want to change.

  • Unknown's avatar

    I’m posting the stylesheet that i’m given and editing what i need. I’ve done this a few times before and it’s been ok….now suddenly it’s not.

    How do I know what I need to put in or not now?!

    God they make it so hard!

  • Unknown's avatar

    Where are you being ‘given’ a stylesheet? If you’re importing a stylesheet from elsewhere, you shouldn’t need to check ‘Add to existing stylesheet’. If you’re merely making changes to the existing stylesheet of whatever theme you’re using, you don’t need to cut and paste it all into the editing box. Just type in the code that you want to override the existing theme.

  • Unknown's avatar

    I’m making changes to the exisiting stylesheet which opens in notepad. Usually you make the changes and then put the code back in the ‘edit’ box…no? I don’t see how i can make the changes in notepad and not in the WP…

    Sorry i’m obviously being slow but what you’re saying doesn’t make 100% sense…

  • Unknown's avatar

    ps. i should add that i don’t ‘know’ css off the top of my head… i scroll through all the code looking for the things that I need to change…which is why what i think you’re suggesting just wouldn’t work for me!

    It’s only confusing because several times previsously, i’ve pasted the code from the theme’s stylesheet into the editing box and changed the things i need to…and it’s worked fine.

  • Unknown's avatar

    Okay, here’s where I think the problem is. When you repost the entire stylesheet in the editing box, all the CSS gets read twice and sometimes this screws things up.

    The best thing to do is simply cut and paste only the changed elements into the editing box and keep the ‘Add to Stylesheet’ box checked.

  • Unknown's avatar

    When you do the cut and paste, obviously you need to include whole elements

    e.g.

    body {
    color: white;
    }

    with the label and the complete brackets.

  • Unknown's avatar

    thank you, I shall try that when I have a bit of time

  • Unknown's avatar

    oh and is it possible to change:

    1. the blue post headers and the sidebar? I can’t find the bit in the code for this!
    2. The grey background of the title?

  • Unknown's avatar

    Yes, you can change all of those things. I don’t use Ocean Mist so I don’t have the coding handy. But really, you’ll need to spend a bit of time learning CSS to work out how. Try the tutorials at the top of the forum.

  • The topic ‘Problem Editing Ocean Mist’ is closed to new replies.