Site logo

[Resolved] How to find where does a CSS come from?

Home Forums Support [Resolved] How to find where does a CSS come from?

Home Forums Support How to find where does a CSS come from?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1759620
    roadlink

    Hello,

    When I check my site from css validator, I see some errors.
    I see this error.
    “Error: CSS: border-color: fbfbfb is not a border-color value.”

    I found this CSS, but can’t find where I can fix it.
    Any suggestion?
    Thank you

    <style>
    			button.alert_button_hover:hover, button.unsubscribe_button:hover {
    				background: #092143 !important;
    				color: #ffffff !important;
    				border-color: fbfbfb !important;
    			}
    		</style>
    #1759700
    Leo
    Staff
    Customer Support

    Hi there,

    Try look for it in one of these places first:
    https://docs.generatepress.com/article/adding-css/

    If that doesn’t work then try to disable all plugins except GP Premium.

    #1760083
    roadlink

    Hi Leo,

    thanks for reply.
    This CSS is already on my page.
    I want to fix it but I can’t find where it has been added from?

    #1760707
    David
    Staff
    Customer Support

    The code is being inserted into the <head> of the document. Have you added an Hook Elements to the site to insert CSS ? Or editing the themes header.php ?

    Otherwise as Leo says it may be another plugin that is adding the code – and the only way to discover which one is to disable ALL plugins to see if the code goes away. Then re-enable one plugin at a time to see which one is adding it.

    #1760761
    roadlink

    Thanks, one by one plugins helped me to solve.

    #1760818
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.