Solved

how to justify a widget in wordpress

Posted on 2015-01-27
8
61 Views
Last Modified: 2015-02-01
I have widgets on the right side of my site.  The text is not justified.  How can I do that?

Site located here
0
Comment
Question by:al4629740
  • 4
  • 3
8 Comments
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 375 total points
ID: 40573895
Add the following to your theme's CSS file:

.textwidget p {
        text-align: justify; // or whatever
}
0
 
LVL 16

Assisted Solution

by:Lucas Bishop
Lucas Bishop earned 125 total points
ID: 40573908
.textwidget {
    text-align: justify;
    text-justify: inter-word;
}

Open in new window


Screenshot attached shows a live example.
justify.PNG
0
 

Author Comment

by:al4629740
ID: 40574047
Under Editor in Wordpress I can't find the place to make the change...HELP
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40574055
When you go to Appearance | Editor, is Theme Styles or style.css not an option on the right side?  If not, please post a screenshot...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:al4629740
ID: 40574094
got there.  now where do i exactly paste it
0
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 375 total points
ID: 40574148
In a CSS file, it doesn't matter as long as you don't paste it in the middle of another block.  A CSS block looks like this:

selector {
  rules;
}

Just place the new block above or below an existing block.  If the CSS file has comments in it that divide things up into different areas (e.g. /* This is the Widgets Area */) then place the code under the correct section.
0
 

Author Comment

by:al4629740
ID: 40574157
I placed it in there and it still does not justify.  Are  you able to check the code?
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 375 total points
ID: 40574159
Your site is using W3 Total Cache so you need to empty all existing caches and rebuild after you make changes like this.  Right now you only see the cached stuff and the changes aren't there yet.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Did you use a default hosting installation of wordpress with the intention of it being your actual site?  Maybe you’ve installed it as a Blog to your current site and recently converted it to be the main site and do away with the old .htm pages.  An…
How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now