ResolvedHow to add custom css file

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Alex 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13400

    dimitris
    Participant

    Hello, how can i add a css custom file in this theme? What is the correct way? I cant find the wp_enqueue_style function in functions theme file.

    #13409

    Alex
    Keymaster

    Hello Dimitris,

    The recommended approach is to use the child theme’s functions.php and enqueue it from there.
    Modifying the theme files directly is not recommended, because your changes will be lost after update.

    However, all frontend scripts and stiles are enqueued from function “rigid_enqueue_scripts_and_styles” in rigid/incl/system/core-functions.php

    Remember, you have also the option to add css from the Dashboard -> Appearance -> Customize

    Regards,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 12277, followers 686
Login and Registration Log in · Register