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
Solved

how to justify a widget in wordpress

Posted on 2015-01-27
8
65 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordpress display sub menu only when click 12 49
PHP AJAX Wordpress 9 29
AJAX Wordpress Not Reading Variable 2 27
Wordpress Hacked 1 24
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…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

856 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