• Resolved thenateums

    (@thenateums)


    On my site, https://thenateums.com
    On the home page and any posts I write, if I try to include an image, it wont align right with the word content wrapping it like I know I have been able to do with other themes.

    I really like my current them and I know it has issues with it (including not supporting widgets!) but I would really like to be able to at least do something like right align an image!

    Help please!

Viewing 7 replies - 1 through 7 (of 7 total)
  • does your theme have the basic/standard classes for that?

    img.centered {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	}
    img.alignright {
    	padding: 4px;
    	margin: 0 0 2px 7px;
    	display: inline;
    	}
    
    img.alignleft {
    	padding: 4px;
    	margin: 0 7px 2px 0;
    	display: inline;
    	}
    .alignleft {
    	float:left;
    	padding:2px 0 0 10px;
    	}
    .alignright {
    	float:right;
    	padding:2px 10px 0 5px;
    	}

    in your style.css? Older themes are missing this stuff a lot of the time….

    Thread Starter thenateums

    (@thenateums)

    Nope! Thats it!

    Does it matter where I put it? I tried dropping it in a couple times, never works though…

    it shouldn’t matter where you put it in the style.css

    if it isn’t working…a couple things

    first, have you cleared your browser cache? Changes to css usually don’t show up without doing that. Press ctrl+f5 while looking at your site

    Then, do you have any other image styling in your css that may be conflicting?

    finally, and this is a bit more advanced…but you can install the firebug developer addon to firefox, which will let you inspect elements of your page to see what css is applying…..I use that to check out conflicts, etc

    Thread Starter thenateums

    (@thenateums)

    Awesome. I just opened the page in chrome and it works. My Firefox has been giving me issues with cache and not viewing all my changes, I always forget to try chrome or safari. I will definitely get firebug though anyway, sounds like something I could have used a couple times before.

    Great Help! Thanks so much, I knew it wouldnt be to hard for anyone with more CSS knowledge than me.

    PS. Just got it all clear in firefox also.

    super! go ahead and mark this topic resolved please, and enjoy the firebug plugin…I’ve learned a tonne using that

    Thanks, this entry helped solve my image alignment problem too, as I’ve been using an old version of Shaded Grey.

    Thread Starter thenateums

    (@thenateums)

    Haha, glad my failures help other people!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘All Post and Page content images wont align right’ is closed to new replies.