WordPress.org

Ready to get started?Download WordPress

Forums

Cakifo
[resolved] edited style.css but blog not updated (4 posts)

  1. regchitxz
    Member
    Posted 1 year ago #

    Hi,
    i updated this following line in style.css but when i refreshed my blog, the changes were not reflected.

    h1,h2,h3,h4,h5,h6{color:#555;font-family:"Segoe UI",Frutiger,"Frutiger Linotype;font-style:normal;font-weight:normal;line-height:1.5;margin:0 0 25px 0}

    I just tested changing the font size of the header title, doesn't worked as well.

    Any idea why is this so??

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    It looks like you're not using specific-enough selectors
    http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/

  3. Jesper Johansen (jayjdk)
    Member
    Theme Author

    Posted 1 year ago #

    Instead of editing style.css you should create a child theme https://github.com/jayj/Cakifo/wiki/Child-themes - that way you won't lose your changes if you update the theme in the future. If you use the Jetpack plugin, you can use the Custom CSS module instead.

    But as Andrew Nevins said, the reason why it's not being updated might be because of the selectors. It can also be because the style.css is cached in your browser.

  4. regchitxz
    Member
    Posted 1 year ago #

    thanks both!

    the info on child themes is very helpful, as well as the css specificity.

    I managed to get my css changes working already. I'm also now applying the child theme strategy.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags