Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3501827
Exclude CSS on one page
Closed

Comments

  •  2
    mikkijack started the conversation

    I don't know if this is even possible, but I want to exclude one page from the custom CSS I have for my hyperlinks.

    I want every other page of the site to be one way, but then my "Link in bio" page I don't want the css for links.

    Is there a way to do that in Soledad?

  •  2,610
    PenciDesign replied

    Hi,

    You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/

    add_filter( 'theme_mod_penci_custom_css', function($value){
        if ( is_paged( 123 ) ) {
            $value = '';
        }
        return $value;
    } );

    Replace 123 with the page ID you need to remove all the custom CSS code.

    Regards,
    PenciDesign.



  •   mikkijack replied privately
  •  2
    mikkijack replied

    You can close this one please, I've decided to not do it that way.  Thank you.