• Resolved andreasanastasiou95

    (@andreasanastasiou95)


    Hello,

    I have used Custom CSS plugin to add some custom css code for the “elementor-image” class. I realized that whatever I update through that plugin it stays forever, even if I restore to previous revisions. I am searching all over the theme style.css files and I cannot locate my css updates in order to delete them, but I can locate them while inspecting the website with devTools. How I can locate and delete that custom CSS.

    Thank you in advance. Please help.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi!
    If you used a plugin, then your custom css code is 100% in your database.
    You can acces the phpmyadmin, select your database and search in it a class or piece of code that you want to remove it.
    Once you find the table and row, you can easily edit it and delete the css code that you want.

    Warring: make sure that you make a backup before this.

    Hope this helps ??

    Hello @andreasanastasiou95,

    As far as I can tell, Elementor’s generated CSS is stored in the uploads folder: https://github.com/elementor/elementor/issues/6859. If not, the code should be in the database as adicoscai said.

    Here’s where you can find the CSS files (at least the ones that loaded inside my browser):



    https://andreas-anastasiou.com/wp-content/uploads/elementor/css/post-8.css?ver=1599642450 contains several references to “elementor-image” class:

    To find the exact file in DevTools, you can choose the CSS selector and right click (on Windows and Linux) or CMD-click (on Mac) on the CSS file link on the top right of the box that contains the code. I’ve taken a screenshot of what I mean, which in this case is to right click or CMD-click on the “post-8.css?…599642450:1” link:



    You can then choose from one of the options inside the menu that opens:



    Thread Starter andreasanastasiou95

    (@andreasanastasiou95)

    Thanks for your helpful asnwers !! Next time I will give it a try because now I fixed the issue with a backup restore ??

    You welcome ??

    You’re welcome! ??

    If your question has been answered, it would be great if you would mark this topic as resolved in the sidebar. This helps the forum’s volunteers find the topics that still need attention and more people will get helped, possibly like you did.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Custom CSS’ is closed to new replies.