Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • bowman999 Friend
    #131761

    How 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.html

    Even 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 Friend
    #263825

    Hi !
    You can do it following way below :
    add following code section to template.css file in templates/ja_teline_ii/css folder :


    div.article-content {
    text-align:right;
    }

    bowman999 Friend
    #263887

    Thanks 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 JAEC
    #263931

    Try 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,

    bowman999 Friend
    #264228

    Thanks 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…

Viewing 5 posts - 1 through 5 (of 5 total)

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