• Resolved letsdothis33

    (@letsdothis33)


    In all the pages where it is installed “amp” theme, it doesn’t show up the botton of an esternal plugin and i’m lOsing a lot of traffics, i have tried to add the custom css of the button everywhere but it still doesn’t work.

    How it is possible to fix this problem, and show the button istead of the simple text “INIZIA IL QUIZ” at the end of the article?

    • This topic was modified 5 years, 7 months ago by letsdothis33.
    • This topic was modified 5 years, 7 months ago by letsdothis33.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks for getting in touch, hopefully we can assist. Did you check the CSS usage using the validation tool within the plugin or try deactivating any optimization or caching plugins before checking for the same issue?

    Alternatively as you’re using the plugin in reader mode you can add CSS styling such as the below to a custom plugin or your active themes functions.php file:

    add_action( 'amp_post_template_css', 'xyz_amp_additional_css_styles' );
    function xyz_amp_additional_css_styles( $amp_template ) {
    	// only CSS here please...
    	?>
    .qz-start-quize {
        text-align: center;
        padding: 10px 0;
    }
    
    .qz-btn-general {
        background: linear-gradient(90deg,rgba(255,150,71,1) 0%,rgba(255,150,71,1) 0%,rgba(252,100,112,1) 100%);
        text-decoration: none;
        color: #fff;
        padding: 10px 30px;
        border-radius: 5px;
        border: 0;
        font-size: 14px;
        text-align: center;
    }
    	<?php
    }

    If you were trying to add CSS to your themes style.css this doesn’t apply in reader mode.

    Thread Starter letsdothis33

    (@letsdothis33)

    Best support ever, thanks for the advices james, and for the code, you are awesome 😉 Thanks again, by the way it work!

    • This reply was modified 5 years, 7 months ago by letsdothis33.

    Glad to hear it, you’ll find more on reader mode customizations here. You may also be interested in the upcoming 2.0 release, with the beta available for download.

    If you have a moment consider leaving the plugin a review.

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

The topic ‘Problem with button’ is closed to new replies.