Could anyone offer css custom meta data code to align listing packages headers "

  • Don
    Don
    Newbie 44 points
    April 15, 2015 at 5:50 pm

    We use the newest version of CT, and having problem with the alignment of the Membership Packages header alignment which is centered. The Listing packages are aligned left and we want to align the Membership to the left and change the font to 30px.
    Any meta data code would be appreciated.
    Thanks


  • Josh
    Super Guru 13,875 points
    April 15, 2015 at 6:16 pm

    Hello Don
    To center Listing Packages add this in Design Setup >Custom Meta Data >Footer Styles
    [code title=””]
    <script>
    jQuery(“.packagesblock >div”).removeClass(‘col-md-3’)
    jQuery(“.packagesblock >div”).addClass(‘col-md-4’)
    </script>
    [/code]
    To change font size try this in Custom Meta Data >Header Styles
    <style>
    .packagesblock >div {
    font-size:30px !important;
    }
    </style>
    Not sure i understand the header part

  • Tamara
    Tamara
    Newbie 13 points
    April 2, 2017 at 7:27 pm

    Hi,
    I tried adding that script and nothing happens.

    [code title=””]
    <script>
    jQuery(“.packagesblock >div”).removeClass(‘col-md-6’)
    jQuery(“.packagesblock >div”).addClass(‘col-md-5’)
    </script>
    [/code]

    The script shows up in the footer.

    Attachments:
    You must be logged in to view attached files.

  • Josh
    Super Guru 13,875 points
    April 3, 2017 at 12:32 pm

    Hello Tamara,
    The code should be:

    
    <script>
    jQuery(".packagesblock >div").removeClass('col-md-6')
    jQuery(".packagesblock >div").addClass('col-md-5')
    </script>
    

    Your Listing Packages seem already centered so not sure why you need the code

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes