-
AuthorPosts
-
bowman999 Friend
bowman999
- Join date:
- April 2007
- Posts:
- 119
- Downloads:
- 13
- Uploads:
- 7
- Thanks:
- 25
- Thanked:
- 14 times in 1 posts
August 4, 2008 at 12:48 pm #131761How do I change the alignment from left (which seems to be the default) to right in the featured article on the Section pages (not the front page)?
For example, the Batman picture hear…
http://www.gadgetinsanity.com/films.htmlEven if I change the alignment in individual articles it still ends up on the left…
What file should I alter? Any suggestions/hints appreciated as I’ve been trying to get this right for awhile.:eek:
John
http://www.gadgetinsanity.com (test site for SFFMedia.com)Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
bowman999 Friendbowman999
- Join date:
- April 2007
- Posts:
- 119
- Downloads:
- 13
- Uploads:
- 7
- Thanks:
- 25
- Thanked:
- 14 times in 1 posts
August 5, 2008 at 12:27 pm #263887Thanks Hainn84,
But I wanted the “image” aligned to the right, rather than the text…
How would I adjust that code to do that? I want the template to do whatever the image properties tell it to. If it’s set to align right then it should go to the right…Cheers
John
Omar Ramos JAECOmar Ramos
- Join date:
- September 2014
- Posts:
- 93
- Downloads:
- 154
- Uploads:
- 12
- Thanked:
- 15 times in 1 posts
August 5, 2008 at 6:37 pm #263931Try something like this which will try to target only the img tags within the class
My CSS gets rusty pretty quickly so I’m going to give you two things to try:
div.article-content img {
text-align:right;
}img.article-content {
text-align:right;
}Let me know if either of those work for you,
1 user says Thank You to Omar Ramos for this useful post
bowman999 Friendbowman999
- Join date:
- April 2007
- Posts:
- 119
- Downloads:
- 13
- Uploads:
- 7
- Thanks:
- 25
- Thanked:
- 14 times in 1 posts
August 7, 2008 at 2:19 am #264228Thanks for the suggestions, but no luck with those two.
I did manage to get the images in the sections shifted to the right, however it affected EVERY image in the article, so if I had two or three images in an article they were all on the right everywhere (changing the position in the editor didn’t work)..
Is there a way to make the Featured Articles in Each Section Default to the “right” rather than the “left”? Seems weird that you can’t. Is there a “float: left” bit of code somewhere I can change? In the core Blog layout CSS or something????;) Have looked but can’t find…
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by bowman999 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum