New Landing How can we help? Cardinal FAQ's – page builder – accordion – styling issue

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Cardinal
  • #124419
    FlawlessWeb
    Member
    Post count: 542

    Hey,

    This is not the first issue I have run into the accordion and its styling of text. See the attached screen-shot.

    In this, I have the page builder enabled for the new FAQ custom post type. I created a question within the “E-commerce” topic and setup a text block and then a mirror of that text block saved within an accordion below it.

    For some reason, the text within the accordion takes on different styling. Why is that happening and how can it be resolved so its retains the proper text styling?

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #124421
    FlawlessWeb
    Member
    Post count: 542
    This reply has been marked as private.
    #124438
    FlawlessWeb
    Member
    Post count: 542
    This reply has been marked as private.
    #124467
    FlawlessWeb
    Member
    Post count: 542

    I think I have put together a fix for this. The following needs to be added to your custom css to ensure proper styling within the accordion:

    .spb_accordion .spb-asset-content {
    font-size: 16px;
    font-family: Source Sans Pro;
    font-weight: normal;
    font-style: normal;
    line-height: 160%;
    }

    Could you test my findings in your own builds and hopefully include this in the themes main css file in a future update?

    Thanks.

    #124519
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will forward this one to Ed.

    -Rui

    #124546
    FlawlessWeb
    Member
    Post count: 542

    Ok thanks.

    #124552
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

    #124651
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Anthony,

    Thanks for pointing that out – it’s caused by the jQuery UI stylesheet. This is the css you want to use for continuity:

    .ui-helper-reset {
    	font-family: inherit;
    	font-size: inherit;
    	line-height: inherit;
    }

    Included in the next update.

    – Ed

    #124709
    FlawlessWeb
    Member
    Post count: 542

    Thanks Ed, that did the trick.

    #124765
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, thanks Ed

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register