Jump to content
Sign in to follow this  
wasabikino

Center Box items

Recommended Posts

wasabikino    0
wasabikino

How do I center align box images? Currently, my text is text-align: center. I want my images to be centered with text. What CSS do I use? This issue is on my "Services" page.

Share this post


Link to post
Share on other sites
batman    389
batman
Hi, one question in Pagelines > Page Options > Site Default > Boxes > Box Thumb Style (optional - defaults to "At Left") You select the option: Image on Top ?? or You have other selection. Try with "Image on Top" if not already, presumably this will center the image by default I hope you serve.

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
wasabikino    0
wasabikino
It is currently set to "Image on Top." It is aligned to the left. How do I center align it? Do I need to apply any CSS?

Share this post


Link to post
Share on other sites
batman    389
batman
You can try this in your CSS in Pagelines > Custome Code > CSS Rule add [code].top_thumbs .fboxgraphic, .only_thumbs .fboxgraphic { margin-left: auto; margin-right: auto; }[/code]

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
catrina    103
catrina
If the above code doesn't work, try replacing this: [code]margin-left: auto; margin-right: auto;[/code] with this: [code]margin: 0 auto;[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
wasabikino    0
wasabikino
Wow - Cool Man! It worked! Thanks!!! :)

Share this post


Link to post
Share on other sites
batman    389
batman
I'm glad it worked. If you solved the problem click "accepted". I'm trying to learn helping. :)

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×