Solved

how to justify a widget in wordpress

Posted on 2015-01-27
8
66 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 17

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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

749 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