WordPress.org

Ready to get started?Download WordPress

Forums

Fiore
creating child theme from altered parent css (3 posts)

  1. JoolzJ
    Member
    Posted 6 months ago #

    Having lost all formatting on my site after I tried to install a child theme, I managed to get formatting back by reinstalling WP, then replacing all files except wp-content from a downloaded version (original install was a 1-click)and keeping formatting in a parent theme.

    I don't know if there is an easy way to make a child theme and change the CSS for the child theme only without redoing all the changes individually...

    [Excessive CSS moderated]

  2. salsaturation
    Member
    Posted 6 months ago #

    Hi JoolzJ

    Please use pastebin.com and link it here instead of posting a long code here

  3. ukoke
    Member
    Posted 6 months ago #

    WP Codex: creating a child theme
    (Although I am not a code-writer, it seems to me that You have not completely underestood what means making a child theme.) It is said that we should NOT alter the CSS of the parent theme (when making a child theme so, then all the changes a reversible). If something breaks, we can simply change the THEME back into parent (and no need to reinstall WP! - relly it can not help, because we altered the css of a theme, not the version of WP). And we can add the altered css into css of child theme row by row, and save the changes, and refresh site in view tab after each add - then we will see at once if and where we have made some mistake:-)
    With best wishes,
    Juhan, Estonia, Europa

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.