CSS style sheet previews fine but does not save some coding

  • Unknown's avatar

    Hi
    I have purchased CSS upgrade. All my changes preview and save EXCEPT one, I have no idea why. I am using CUTLINE template, I have changed the Post title colour to pink and when you hover it is green. However, after saving the hover section works, it is green BUT the post title reverts to black.
    Pls could someone tell me which section of the style sheet i should be altering to change Post title heading colours? Or could it be that saving is adding something to the coding? thanks

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

  • Unknown's avatar

    WordPress scans your CSS when you click the save button for anything that is not allowed here due to security concerns, or that is wrong syntax. If you paste what is being removed here between backticks (the key to the left of the #1 with the ~ on it) then we can take a look.

  • Unknown's avatar

    Thanks for your swift reply.

    When you ask me to “paste what is being removed” do you mean that I should past the code I have in my CSS style sheet, and in the CSS editor box, into an email and send to you with ~ between the code?

    If so, which section of the style sheet should I paste in for you to look at?

  • Unknown's avatar

    Sorry, no I was saying to paste only what is removed here into the forum so that we could look at it.

  • Unknown's avatar

    hi

    I have tweaked the h2 field, and put in a different colour, with a hex code.

    The blog previews using this code and the post title is pink, (as I would like it to look) when I then save settings and go to visit site, and click on it, the post title is black.

    I checked the code before and after saving and it is the same. here’s the code

    ~h2 a {
    color:#FF1493;
    text-decoration:none;~

  • Unknown's avatar

    Hi there,

    Problem solved.

    Many thanks for your help and suggestions. I have persisted and discovered that it is the web browser, Firefox, leaving cookies, which rendered the page as visited, and hence the Page post title was black.

    I then used Safari, cleared history and cookies, and accessed the site again with a different browser and it renders correctly.

  • The topic ‘CSS style sheet previews fine but does not save some coding’ is closed to new replies.