Forums

[resolved] Custom CSS to parent css style (4 posts)

  1. diragusa
    Member
    Posted 5 months ago #

    Im just wondering a friend of mine made me a theme, and i know it will never upgrade. so i wanted to add my own css. exactly like what you would do when using a child theme css. Do i still have to make a child theme to do this or how can i add my own css on top of the parent css.

  2. mrmu
    Member
    Posted 5 months ago #

    hi diragusa,
    I think using child theme would be better if you just want to do a bit of modifications. And all changes you made in child theme will replace parent theme css settings (if apply same css id/class name with different attributes in parent and child, then the css settings of child theme would be applied.)
    so, if you want retain most of original css settings, just using child theme, otherwise you need create another new theme and using totally different css settings.

  3. diragusa
    Member
    Posted 5 months ago #

    to be exact: is there a way to override some elements in the main style.css with another css

  4. alchymyth
    The Sweeper
    Posted 5 months ago #

    is there a way to override some elements in the main style.css with another css

    either use a child theme http://codex.wordpress.org/Child_Themes (with the @import code) and pack the new styles into style.css of the child theme; or don't make a child theme and add the new css directly at the bottom of style.css of the original theme.

    or, simply make a backup copy of the original theme for safekeeping, and edit the working theme as much as you like.

Reply

You must log in to post.

About this Topic