• Resolved adhdcelt

    (@adhdcelt)


    I have a wordpress site on a WAMP localhost install using a child theme of the Asteriod theme found in the wordpress directory. I used the Asteroid style.css as a starting point for the child.

    I’m trying to get rid of two borders that I didn’t create, and I cannot find them in the css. I’ve done the “inspect element” thingy over and around the elements in question, tracked down the classes in css, and I have searched the css for keyword border and checked them all.

    Can’t find these borders.
    One of the elements is the theme’s “read post” button.

    If someone can please give me a good place to start over, I’d appreciated it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey adhdcelt,

    Hope you’re well today 🙂

    There is no need to ever edit current CSS and search for classes in style.css, you can simply override any code in the file with custom CSS.

    If you already know how to use inspector and find class where this is being used, simply use the same selector and add your own properties to it, add it at the bottom of your child theme style.css and it should override the original style.

    With that being said to remove read post button border and box shadow try adding the following:

    a.continue-reading.cf {
        border: none;
        box-shadow: none;
    }

    Hope this helps 🙂

    Cheers,
    Bojan

    Thread Starter adhdcelt

    (@adhdcelt)

    Bojan:
    Thanks so much for the much-needed wisdom.

    I’ll do the custom thingy from now on, the only problem being here is the fact that I cannot find the parameter in the css that needs to be overridden.

    Thanks again!
    I’ll try the code.

    Thread Starter adhdcelt

    (@adhdcelt)

    Well, Bojan, the code worked.

    This is where “read the fine print” comes in: Lookin’ for the wrong thing in css. Since I didn’t see a border setting in continue-reading, I assumed it didn’t need one. Problem on read button solved. Thank you.

    Glad I could help 🙂

    Cheers,
    Bojan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't find html referenced in css.’ is closed to new replies.