Site logo

Archived topic

Right Sidebar Widget - justify text

11 replies · Started by Alana on March 20, 2019

Viewing posts 1–12 of 12

Hi,

I'm using the very handy right sidebar widget to create a quick "About Me" blurb with photo and I was wondering how to go about getting the text under the photo to be justified? Thanks in advance!

Hi there,

any chance you can take down the coming soon so i can take a look?

Just did, thanks!

Hi there,

try this:

.inside-right-sidebar .wp-caption .wp-caption-text {
    text-align: justify;
}

I added the code you suggested like so:
(do you think this placement is proper?)

caption id="attachment_196" align="alignnone" width="300"]
.inside-right-sidebar .wp-caption .wp-caption-text {
text-align: justify;
}

Got it! I was trying to edit the CSS in the widget directly and it wasn't working. Using the simple CSS plugin worked, though. Thanks!

Glad to be of help

Hey guys! I changed my About Me right sidebar image and it looks like the text is no longer justified or in line with the image. I didn't change or remove the above code from Simple CSS so not sure what went wrong. I'd appreciate your help with this.

Thank you!

Try this CSS:

.sidebar #text-2 p {
    text-align: justify;
}

Perfect, thanks so much Leo and have a great weekend!!

No problem :)

This archived topic is closed to new replies.