• Resolved KimPatt

    (@kimpatt)


    Hi there Baden,

    I’ve been using this plugin for years and I love it. I recently figured out how to replace the arrows with a font awesome icon. I can’t figure out how to add a few white spaces in between the arrow icon and the text title.

    I’m using SiteOrigin Editor widgets and they work great and let me avoid using columns.

    Here’s the page:

    Here’s my code:

    .high {
    color: #00095e;
    font-size: 1em;
    }
    
    h4.highlight {
       color: #00095e;
    }
    
    .collapseomatic {
    margin-left: 10px !important;     /* increases space located to the left of the image*/
    padding-left: 30px !important;    /* increases space located to the right of the image*/
    
    }
    .collapseomatic.awesomearrows {
        background-image: none;
        padding-right: 20px;
        padding-left: 50px;
    }
    .collapseomatic.awesomearrows:before {
        font-family: FontAwesome;
        content: "\f0ab";
    }
    .colomat-close.awesomearrows {
        background-image: none;
    }
    .colomat-close.awesomearrows:before {
        font-family: FontAwesome;
        content: "\f0aa";
    }

    https://www.ads-software.com/plugins/jquery-collapse-o-matic/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter KimPatt

    (@kimpatt)

    Page didn’t show up, sorry. Here it is:

    Coastal Insurance Solutions > About Us

    Plugin Author Baden

    (@baden03)

    Hello Kim,

    You simply need to change add padding. you can do this to ALL collapse elements by adjusting padding as shown in the following CSS:

    .collapseomatic {
    	padding: 0 0 10px 21px;
    }

    Just adjust the 21px above to whatever suits your design fancy.

    Thread Starter KimPatt

    (@kimpatt)

    Thanks very much Baden,

    I’m sorry to report that it did not work. I adjusted the 21px but it stayed the same…too squished together for my liking. Here’s a screenshot

    Thread Starter KimPatt

    (@kimpatt)

    Let’s try this again!

    screenshot

    Plugin Author Baden

    (@baden03)

    ah, ha!… then try:

    .collapseomatic.awesomearrows:before {
        font-family: FontAwesome;
        content: "\f13a";
        padding-right: 10px;
    }

    (add the padding-right stuff)

    Thread Starter KimPatt

    (@kimpatt)

    YES! It worked! You’re the best…thanks very much Baden.

    Plugin Author Baden

    (@baden03)

    happy to help. vote for pedro!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding white space between arrow and text title’ is closed to new replies.