Home>Support>Justify text in Circle Icon Widget

Justify text in Circle Icon Widget

Hi,
I have been trying to justify the text that appears with the circle icon widget, having picked up and modified some of the previous forum answers, but cannot make it work – Could you help me please?
I had hoped this would work, but could you tell me where I am wrong, please?
/* Circle Icon Widget Text Alignment */
.widget_circleicon-widget .circle-icon-box p.text {
text-align: justify;
text-justify: inter-word;
}
Thanks!

URL: http://www.ironstoneadvise.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Alex

    That should work. Please, try the following at Appearance > Custom CSS:

    /* Circle Icon Widget */
    
    .widget_circleicon-widget .circle-icon-box p.text {
     	text-align: justify;
    	text-justify: inter-word;
    }
    

    Let us know how that goes.

  2. 9 years, 1 month ago alex.angus

    Thanks Andrew – that works when applied across the whole theme, which is a definite improvement, so thank you.

    I was, however, hoping to be able to apply it to only some of the Circle Icon texts, and not others – is that possible, or is only as a whole theme change?

    Thanks,
    Alex

  3. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Sure.

    Edit the Circle Icon widget concerned. Click Attributes on the right. Enter the following as a Widget class:

    justify
    

    Then change your Custom CSS to:

    /* Justify Circle Icon Widget */
    
    .widget_circleicon-widget .justify .circle-icon-box p.text {
     	text-align: justify;
    	text-justify: inter-word;
    }
    
  4. 9 years, 1 month ago alex.angus

    Andrew – that’s perfect, thank you! Looks great :)

    Alex

  5. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear that did the trick. All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More