New Landing How can we help? Cardinal Change size of accordion titels

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Cardinal
  • #191407
    studiodorus
    Member
    Post count: 42

    Hello,

    I was wondering if i can change the size of the titels in the accardion.
    I have a screenshot showing wich titel i mean. (pointed out with red arrows)
    For live view go to: http://www.futurechemistry.com/applications/more-applications/

    It would be great if i can change it in to a H3 or H4 bold

    Hope you can help.

    Attachments:
    You must be logged in to view attached files.
    #191412
    David Martin – Support
    Moderator
    Post count: 20834

    Sure,

    Please use this and adjust to your requirements:

    .spb_accordion .spb_accordion_section > h4 {
      font-weight: bold;
      font-size: 18px;
    }

    Thanks.

    #191532
    studiodorus
    Member
    Post count: 42

    Thanks wich php file do i have to put this in?

    #191533
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    That is CSS not PHP, please do not place it in a PHP file ๐Ÿ™‚

    Add this to your theme options panel – Custom CSS option.

    Thanks,
    David.

    #191535
    studiodorus
    Member
    Post count: 42

    AH oke, i see.

    Thanks

    #191538
    studiodorus
    Member
    Post count: 42

    Works like a glove.
    Got rid of the bold because that was yust not the way to go.

    Is there any way to get the + icon out of the text?

    See screenshot

    Attachments:
    You must be logged in to view attached files.
    #191542
    David Martin – Support
    Moderator
    Post count: 20834

    haha no problem ๐Ÿ™‚

    Sure, please add this also:

    .spb_accordion_section > h4 .ui-icon:before { display: none; }

    Thanks.

    #191548
    studiodorus
    Member
    Post count: 42

    This works great to. But not what i mean.

    Its that the text is so long that it runs in to the + icon. I would like to have some space between the text en the icon.

    See screenshot

    Attachments:
    You must be logged in to view attached files.
    #191557
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try adding this to your custom css:

    .spb_accordion .ui-accordion .ui-accordion-content {
      padding: 15px 60px 0 0;
    }

    – Kyle

    #191560
    studiodorus
    Member
    Post count: 42

    Nope,

    Doesn’t do anything.

    #191562
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I can’t replicate your issue, please tell me which page you are seeing an overlap on and which accordion

    – Kyle

    #191564
    studiodorus
    Member
    Post count: 42

    Take a look on this page. Then it will be clear.

    http://www.futurechemistry.com/about/faq-frequently-asked-questions/

    #191565
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this:

    .ui-accordion-header > a {
      padding-right: 60px;
    }

    – Kyle

    #191566
    studiodorus
    Member
    Post count: 42

    Yes thats it.

    Great stuff as always
    Thanks

    #191568
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.