Child Theme style.css - by Fantasia - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 4 years, 10 months ago ago by Olga Barlow

  • Avatar: Fantasia
    Fantasia
    Participant
    June 6, 2019 at 13:25

    Hello!
    I’d like to make some custom changes in the style.css of child theme but the file doesn’t affects my page. I copied the strings that I wanted to modify from the original css (to have the correct syntax) and then changed the parameters but I didn’t get success.
    I tried to use simply the custom css field in Theme Options but these new modifies neither do work there.
    Anyway, what’s the difference between these two ways of customizing styles?
    (I just want to change the button colours -again-, but it seems to be the hardest task for me after every update, I can only do it in the original css and of course it has been overwritten every time)
    Thanks,
    Zsu

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 6, 2019 at 13:46

    Hello,

    What exactly code doesn’t work from style.css of child theme? Please provide screenshots. You can use such screenshot maker as Lightshot https://prnt.sc/
    Which code doesn’t work from Theme Options > Custom CSS?
    Have you cleared cache?
    Please provide temporary wp-admin access.

    Custom CSS code from Theme Options is generated into dynamic.css file of the child theme.

    Regards

    Avatar: Fantasia
    Fantasia
    Participant
    June 6, 2019 at 17:45

    Hello,

    since then I tried to add !important tags to the code and it works this way. Is it possible that I have to use the tag on every css modification? Till now it’s the only solution in every case 😮
    Which way is better if I have a big amount of css changes, Custom CSS or the Child Theme style.css?

    Other: I added a parallax backgrounded box to the top of my footer Static Block (as a separation element), but it appears only on a few pages, and I don’t know that it depends on.
    For example here it’s OK: https://www.freshmood.hu/freshmood-neked-egyedi-ekszer/
    But here it isn’t: https://www.freshmood.hu/blog/

    Wordpress access in Private Content. Thank you for your help!

    P.s.: If I have some more questions with different problems, should I ask them in new topics or is it OK the way like this? Thanks 🙂

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 7, 2019 at 11:57

    Hello,

    1) Everything depends on the styles you want to overwrite. If styles in the parent theme contain Important then you won’t overwrite them without that. But if styles of the parent theme do not have important then you can overwrite them just using dipper selector structure.
    We would recommend using child theme style.css if you have a lot of CSS styles.

    2) You are using the Ultimate Addons option to add parallax image and seems that plugin does not enable scripts on the blog page. Provide FTP access to find out why.

    3) If you have questions that are not related to mentioned above then it would be better to create the new topic to avoid misunderstanding.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.