Custom css - by agri8theme - on WordPress WooCommerce support

This topic has 6 replies, 3 voices, and was last updated 6 years, 1 months ago ago by Rose Tyler

  • Avatar: a8theme
    agri8theme
    Participant
    March 8, 2018 at 05:44

    When updating the royal theme from the WP administrator to the latest v4.2, some theme choices were changed.
    I fixed it.
    However, it does not enable custom CSS.

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2018 at 08:23

    Hello,

    Please create an empty dynamic.css file in royal-child theme folder and set permissions 777 for the file + add wp_enqueue_style( 'dynamic-css', get_stylesheet_directory_uri() . '/dynamic.css' ); in royal-child/functions.php file. Then go to Theme Options and re-save them. (From the 4.0 update, all the custom styles come not like inline CSS but as styles from separate file – dynamic.css (to speed up the site loading). If you created child theme before 4.0 update you need to create the dynamic.css file.)

    Regards

    Avatar: a8theme
    agri8theme
    Participant
    March 9, 2018 at 10:19

    That worked. Thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2018 at 10:28

    You’re welcome!

    Regards

    Avatar: pablostevens
    pablostevens
    Participant
    March 9, 2018 at 21:49

    That worked for me too! Thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2018 at 09:21

    Hello @pablostevens,

    Great. You’re welcome!

    Regards

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

The issue related to '‘custom css’' has been successfully resolved, and the topic is now closed for further responses

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