WordPress.org

Ready to get started?Download WordPress

Forums

Editing CSS (6 posts)

  1. Gabi123
    Member
    Posted 1 year ago #

    Hi,

    I am new to WordPress and learning a beginner in CSS.

    I installed the theme Oxygen and I am trying to edit the CSS. However, when i make changes to the CSS through the editor they don't know up. Can't change the color, positioning, size of images...anything.

    So far I have:
    1.changed the ftp to 774 in order to edit the css.
    2.downloaded a css editor plugin which allows me to edit the css bit by bit. These changes show up on my site, however the actual CSS goes away after I save and x out
    3.I have tried deleting cache on my wp site and deleting my browsers cache.
    4. I then went into my php to see if I could edit the size of images or anything there...and that doesn't show up either.

    Nothing seems to be working. Does anyone have advice?

    Thanks!

  2. frektar
    Member
    Posted 1 year ago #

    First create a child theme.

    https://codex.wordpress.org/Child_Themes

    Then modify the css in the new style.

    A lot of themes today come with an editor in the admin panel. I stick to child themes, but to each their own.

  3. Gabi123
    Member
    Posted 1 year ago #

    WOW! ok i can edit the CSS in my child theme but now I have another question.

    What if I want to edit the php? In my child theme editor there are no php templates to edit.

    thank you soooo much!

  4. Gabi123
    Member
    Posted 1 year ago #

    Actually it looks like I can just download the php files from the parent and then upload them into the child and the child's php's will take preference over the parents.

    Not sure if that is correct though.

    Thanks again. You solved a huge headache.

  5. frektar
    Member
    Posted 1 year ago #

    Anything in the parent theme you want to modify, make a copy of that file and put it in the child theme. Then edit the copy and the changes will take precedence. The only tricky file is the functions.php

  6. Gabi123
    Member
    Posted 1 year ago #

    awesome! Thank you!!!

Topic Closed

This topic has been closed to new replies.

About this Topic