Home Forums Plugin Support WP User Frontend Pro Over riding CSS changes after updates

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #67240

    David
    Member
    Post count: 8

    Hi there,

    We’re using WP User Frontend Pro and needed to change the CSS to align with our theme. A problem that we keep having is that every time we update the plugin we need to go back and manually update our CSS changes to re align with our needs. Is there a work around or something like a child theme we can use to edit the layout without it being affected every time an update is made?

    #67350

    Nayem
    Moderator
    Post count: 6480

    Hello,

    You can make changes through child theme. Create a child theme of your parent theme then change CSS through that child theme's style.css file. Then you will not loose your data during update.

    Thanks.

    #67813

    David
    Member
    Post count: 8

    Hi Nayem

    The css that is always overridden is in a file called “frontend-forms.css”. This file is in the plugin folder rather than that seen in the theme. Where do we put our own styles as the ones used in the theme are replaced for the ones in this file?

    #67815

    Nayem
    Moderator
    Post count: 6480

    Hello,

    To override CSS style you have to use child theme style.css file or your parent theme style.css file. Child theme is safe. If you will change any css in the main file then you will loose it when you will update the plugin file.

    Thanks.

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

The topic ‘Over riding CSS changes after updates’ is closed to new replies.