?
Solved

how to justify a widget in wordpress

Posted on 2015-01-27
8
Medium Priority
?
75 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 1500 total points
ID: 40573895
Add the following to your theme's CSS file:

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

Assisted Solution

by:Lucas Bishop
Lucas Bishop earned 500 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
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
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 1500 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 1500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

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…
What's this? As a volunteer Page Editor for Experts-Exchange.com, I have noticed that many authors also have blogs, and pull articles from their blogs to post at Experts-Exchange. I appreciate each author sharing their blog content with our site …
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

765 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