WordPress.org

Ready to get started?Download WordPress

Forums

Aesop Story Engine
[resolved] style.css is overidden? (6 posts)

  1. jcklngrn
    Member
    Posted 10 months ago #

    I was trying to override the style for the quote component - it's got more padding than I'd like - so I added a change to style.css, but it's not being picked up.

    If you inspect element here: http://www.brooklynabroad.com/pomodoro-breaks-were-never-this-good, you'll see the original style for padding: 8rem 12rem; as opposed to the revision that I added to the stylesheet below.

    .aesop-quote-component {
    padding: 2rem 12rem;
    }

    Thanks in advance (and happy easter!)

    -jacklyn

    https://wordpress.org/plugins/aesop-story-engine/

  2. Nick Haskins
    Member
    Plugin Author

    Posted 10 months ago #

    Hey Jacklyn
    I clicked over but got an error about database connection. More than likely you'll need to be more specific with your css, or use !important to override.

  3. jcklngrn
    Member
    Posted 10 months ago #

    I tried .jorgen .aesop-quote-component, .single-post .aesop-quote-component, and a few other variations where I take a higher level parent class followed by .aesop-quote-component. I also included !important for all of them, but I can't seem to get the style to even show up on the inspector.

    Just to test whether or not style.css was being rendered, I also added a reference to a Google Font for the body (changed the font color to red) and included the link href within header.php and that didn't get picked up either.

    http://www.brooklynabroad.com/wp-content/uploads/2014/04/2014-04-20_2149.png

    I think I might be missing something obvious, but I'm really not sure what it is.

  4. Nick Haskins
    Member
    Plugin Author

    Posted 10 months ago #

    Put your css in a plugin. When Jorgen is updated all of that will be erased. Use a plugin like Simple Custom CSS, and put your CSS there instead.

    Nick

  5. jcklngrn
    Member
    Posted 10 months ago #

    Sounds good!

  6. Nick Haskins
    Member
    Plugin Author

    Posted 10 months ago #

    Marking this as resolved but feel free to reach out with any other queries!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.