Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1331712
    josephkwf
    Participant

    The text didn’t responsive. Please find attached screen dump about the outcome of the following code I used. Please your guideline how to make it work. I am using Ethos-1, current version x-theme is 4.6.4.

    Herein my code at Post.
    [content_band bg_color=”#000066″ border=”all”] [container] [custom_headline style=”margin: 0;” type=”center” level=”h4″ looks_like=”h3″ accent=”true”]Boston Havard-MIT Math November Tournament 2016[/custom_headline] [/container] [/content_band]

    <span style=”color: #000080;”><span style=”color: #99ccff;”>This is the first time my school participated this National High School Mathematics Tournament. It is organized by Harvard University and MIT every year in Boston at Harvard University Campus…,etc.</span> </span>

    #1331721
    Christian
    Moderator

    Hey Joseph,

    Please see https://community.theme.co/kb/shortcode-walkthrough-responsive-text/ to learn how to use the responsive text.

    Thanks.

    #1331842
    josephkwf
    Participant

    Thank you Christian. I’ve read your link. What is the exact code format if I want to place it into my code above I posted?

    Thanks again.
    Joseph

    #1331864
    Lely
    Moderator

    Hello Joseph,

    Something like this:

    [custom_headline class="responsive-heading" style="margin: 0;" type="center" level="h4" looks_like="h3" accent="true"]Boston Havard-MIT Math November Tournament 2016[/custom_headline] [responsive_text selector=".responsive-heading" compression="1.5" min_size="36px" max_size="78px"]
    See this:http://demo.theme.co/integrity-1/shortcodes/responsive-text/

    Hope this helps.

    #1333203
    josephkwf
    Participant

    Thank you all. It works now on [custom_headline]. Further,

    How can I plug in to the following code as well?
    <span style=”color: #000080;”><span style=”color: #99ccff;”>This is the first time my school participated this National High School Mathematics Tournament…, etc.</span> </span>

    Have a great day.

    #1333306
    Paul R
    Moderator

    Hi,

    You need to use div instead of span, then a class and make it as selector for responsive text shortcode.

    eg.

    
    <div class="responsive-text" style="color: #99ccff;">This is the first time my school participated this National High School Mathematics Tournament…, etc.</div> 
    
    [responsive_text selector=".responsive-text" compression="1.5" min_size="36px" max_size="78px"]
    

    Hope that helps.

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