Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1291185
    Antony H
    Participant

    Good morning Themeco!

    I have a general question about responsive text. Is there a way to do this globally, rather than page by page please? Maybe it can be done with CSS in the Customizer [assuming the right classes are assigned] to avoid the need to do it over and over again?

    Thanks!

    #1291282
    Christian
    Moderator

    Hey Antony,

    Please add the code below in your functions.php

    add_action( 'wp_footer', 'global_resp_text');
    
    function global_resp_text () {
      echo do_shortcode('[responsive_text selector=".responsive-heading" compression="1.5" min_size="36px" max_size="78px"]');
    }

    Replace [responsive_text selector=".responsive-heading" compression="1.5" min_size="36px" max_size="78px"] with your own setup. For more details about Responsive Text shortcode, please see http://demo.theme.co/integrity-1/shortcodes/responsive-text/

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1291185 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>