• Resolved ps07hc

    (@ps07hc)


    Good day,

    we are using Quantcast with our website in order to receive consent before tracking usage or showing ads. However when inserting the code for the styling of the permanent consent button we receive a google error that tells us, that the tag “style amp-custom” is present several times in the document and we have to fix it. Do you know how we can still adjust the button for the settings, but not get the error? The code which is included via the head html field is:

    <style amp-custom>
    #postPromptUI button {
    background: #368bd6;
    color: white;
    padding: 5px 15px;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    position: fixed;
    right: 0;
    bottom: 0;
    border-radius: 3px 0 0 3px;
    max-height: 30px;
    max-width: 110px;
    cursor: pointer;
    }
    </style>

    Thank you so much in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    if you want custom CSS, go to AMP Option Panel -> Design -> Global ->In the Advanced section Paste your Custom CSS and then click on the “Save Changes” button.

    Ref:https://prnt.sc/10sj4b0

    Thread Starter ps07hc

    (@ps07hc)

    Hey, thank you so much! That worked, Quantcast mentioned to include it in the <head> but since there is an extra Custom CSS I think it’s supposed to go in there! Thanks!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Let us know if you need any assistance.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘tag – Error’ is closed to new replies.