• Resolved jayrp

    (@jayrp)


    I’ve added a child theme to StrapVert. I believe it’s installed correctly and is active, however any changes I try to make on the child style.css page don’t seem to do anything.

    For example, I’d like to edit the footer. I’ve tried copying this into the stylesheet:
    #site-generator{display: none;}

    and I have also copied the footer.php from the parent theme into style.css and edited/deleted text.
    Neither of these had any effect; it still shows the complete/original footer.

    I’ve also cleared my cache, the only plugins I have are headspace and calendar, which I don’t think would effect cache.

    Am I missing something?
    lsstringschool.com
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • have you used this one?

    .strapvert-powered-by {
    display: none;
    }

    It appeared things were in the right order, have you tried something insane in child’s style.css file that will confirm whether or not it is working?

    Try this:

    body.custom-background {
    background-color: #000;
    }

    you will know pretty quick then.

    Theme Author Brian Harris

    (@zgani)

    @josia.boyd thanks for the answer – you are spot on ??

    @jayrp – StrapVert does not use the selector #site-generator – to hide just the credit link use the first code give above.

    Take a look at the files you want to work on and the selectors will give you an indication of what to target in your custom css ??

    Zulf

    Thanks and great theme!

    Thread Starter jayrp

    (@jayrp)

    Thanks for your comments.
    @josiah, the code for the footer worked as you said, but the insane background color code made no change…?

    Just to appease my own curiosity, why were my first attempts at changing the footer unsuccessful, when I pasted and edited the footer.php in my stylesheet? Are php and css not compatible?
    And will all css selectors work with the theme?

    Thanks!

    I pasted and edited the footer.php in my stylesheet? Are php and css not compatible?

    No, you cannot put php code in a CSS file – they are totally different – it won’t work at all and will invalidate any CSS after the php code.

    And will all css selectors work with the theme?

    CSS is theme (and to some extent site) specific, so no, you cannot use CSS you find someplace else and expect it to work.

    Theme Author Brian Harris

    (@zgani)

    I think this issue has now been addressed and therefore marking the thread as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘edits to child theme not working’ is closed to new replies.