WordPress.org

Forums

[resolved] Is there any way to change plugin css for certain page? (3 posts)

  1. heleh
    Member
    Posted 1 year ago #

    Hello!

    I'm using a plugin called WP Slide-up box. The problem is that I'm using pictures in different sizes in different pages with this plugin. To make these pictures fit with my pages I need to change plugin css for certain pages differently. Is there any way to do it?

    Also, I found a plugin called Custom CSS but it's not working when I use plugin css, right?
    Theme I'm using is Responsive.

    Thanks!

  2. kjodle
    Member
    Posted 1 year ago #

    Yes, there is. WordPress assigns each post or page a unique ID, which you can see in the <body> tag.

    The best/easiest way to add custom CSS (if your theme does not have this feature) is to use a child theme.

    Your syntax in your child theme stylesheet would be something like this:

    uniqueID element {property: value;}

    This works. I do it all the time.

  3. heleh
    Member
    Posted 1 year ago #

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic