Solved

how to justify a widget in wordpress

Posted on 2015-01-27
8
60 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
Wordpress Horizontal Drop-Down Menu In this tutorial I will show you had to add a WordPress horizontal navigation menu to your theme. I have searched and searched for a good tutorial on creating a WordPress nav menu without adding a plug-in or us…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. 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 :…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

757 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

22 Experts available now in Live!

Get 1:1 Help Now