Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1021842
    Cherylwoodman
    Participant

    Hi Themeco,

    I want to change the text size of the font used within an accordion box (but not the header).. I found this code in a past forum q.

    accordion_item style=”font-size: 25px;”

    I used this, but it changed both the header & the inner font size.

    Is there a way I can inline change just the font size of the body text?

    Thanks,

    Cheryl

    #1022093
    Joao
    Moderator

    Hi There,

    You can add the following code inside your Accordion text Box

    <p style="font-size: 25px">Add some content to your accordion item here.</p>

    Hope that helps,

    Joao

    #1022271
    Cherylwoodman
    Participant

    Thanks Joao – is there a way to add this code without splitting the text onto a new parapgraph?

    #1022277
    Cherylwoodman
    Participant

    Hi Joao – I’ve used this code inline, but it seems to have had a funny effect on one accordion entry (the first) over the lines after it. The text size in the first is much bigger…

    I’ve attached a screenshot & this is the link http://honestyforyourskin.co.uk/index.php/product/renew-antioxidant-night-oil/

    #1022523
    Joao
    Moderator

    Hi There

    You can close the </p> after all your content it doesnt need to go on every paragraph. The code will work in the content between <p style="font-size: 25px"> AND </p>`

    You could use :

    <p style="font-size: 25px"> Rice Bran Oil – protects, brightens and boosts skins natural healing process, rich in powerful antioxidants and essential omega 6.
    (source of ferulic acid, g-oryzanol, tocopherol, tocotrienol, squalene)
    
    Black seed oil – antiaging oil providing essential nutrients that help to rejuvenate and renew skin.
    (source of vitamins A, B, C, zinc)
    
    Blueberry seed oil – containing a complex of natural vitamin E that scavenges damaging free radicals and protects skin against UV damage.
    (source of tocotrienol & tocopherol)
    
    Cucumber seed oil – combats inflammation, relieving skin stress and fatigue while also lifting hydration levels by strengthening skins lipid barrier.
    (source of phytosterols, tocopherols, vitamin C, B1)
    
    Pumpkin seed oil – with healing and firming properties that increase skins elasticity and protect collagen levels.
    (source of vitamins A, B2, B3, beta carotene, zinc
    
    Jojoba oil – mimics skins naturally conditioning sebum to balance, soften and nourish dehydrated skin.
    
    Pro-vitamin A – stimulates skin recovery and repair with powerful antioxidant activity that helps to reduce the appearance of fine lines and wrinkles.
    
    Vitamin E (natural) – increases skins resilience and ability to defend from environmental stressors.
    
    Free From; fragrance, parfum, essential oils, mineral oils, alcohol. </p>

    I hope I have answered your question.

    Let us know if you need further help.

    Thanks

    Joao

    #1023836
    Cherylwoodman
    Participant

    Hi Joao – this is a little strange, when I add this to the text editor, I can preview and the first section for ‘rice bran oil’ becomes large automatically.

    When I switch to the visual editor, I can also see this as extra large, I’ve cleared the formatting on the rice bran section in the visual editor, then when I do this, the paragraph styling code disappears..

    Is there something I am missing?

    #1024102
    Friech
    Moderator

    Hi There,

    Regretfully, at this time I am not entirely certain of the issue, If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do. And please provide us login credentials in private reply so we can take a closer look.

    We’ll be happy to provide you with a response once we have a better understanding of the situation.

    Thanks.

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