Site5

Menu

Support Forums

align left / align right.

Home Forums Focused align left / align right.

Tagged: 

This topic contains 34 replies, has 14 voices, and was last updated by  liuchunkai 22 hours, 28 minutes ago.

Viewing 15 posts - 1 through 15 (of 35 total)
  • Author
  • #6662

    lutzfinger
    Member

    Hi 5Themes…

    great work. But if I use your theme, I can not align the pictures right or left within a blog. Please see: lutzfinger.com…. it works with other themes but not with yours. What am I doing wrong?

    cheers

    #6663

    lutzfinger
    Member

    Moreover the image will be shown over the complete blog width if there is NO caption. Any reason why?

    thanks

    #6673

    bsahin
    Keymaster

    Hey please open the main.css and add this before the media querys:

    .alignleft,
    img.alignleft {
    	display: inline;
    	float: left;
      margin-right: 1.5em;
    }
    .alignright,
    img.alignright {
    	display: inline;
    	float: right;
      margin-left: 1.5em;
    }
    .aligncenter,
    img.aligncenter {
    	clear: both;
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    .wp-caption {
    	text-align: center;
    	margin-bottom: 1.5em;
    }
    .wp-caption img {
    	border: 0 none;
    	margin: 0;
    	padding: 0;
    }
    .wp-caption p.wp-caption-text {
    	margin: 0;
    }
    .wp-smiley { 
    	max-height: 1em;
    	margin:0 !important;
    }
    .gallery dl {
    	margin: 0;
    }
    .gallery-caption {
    	margin:-1.5em 0 0 0;
    }
    #6680

    I was wondering the same thing. I’m having the same issue even after insert the code in the main.css.

    Even after re-sizing a picture and aligning (left or right) it shows up centered, the width of the blog, and small pictures are super stretched.

    I placed the code directly before the media queries.

    #6692

    bsahin
    Keymaster

    Hey I have merged all together. you can copy this: http://pastie.org/pastes/6222420/text  in main.css file.

    #6706

    lutzfinger
    Member

    Thanks bulent.sahin… that works perfect.

    cheers

    #6721

    bsahin
    Keymaster

    You’re welcome lutzfinger. Enjoy the theme.

    #6801

    GranRuina
    Member

    Hi bulent.sahin. I have the same problem, but the link http://pastie.org/pastes/6222420/text doesn’t work anymore. Can you please put again that merged code?

    Thanks a lot!

     

    #6835

    @GranRuina – it doesn’t work when you click the link but will if you copy and paste in browser.

    #6933

    mark3738
    Participant

    While the updated stylesheet now allows me to left or right align images which is great, it still will not display a thumbnail  unless I write a caption. There are occasions when I do not want a caption, but still require a thumbnail.

    Any pointers as to where I can change this would be great.

    #7002

    bsahin
    Keymaster

    Hey all this is the; http://pastie.org/pastes/6222420 complete style.css of the “Focused” theme.  You should copy that code from pastie and paste into the style.css (overwrite old codes).

     

    #7063

    h8usernames
    Participant

    Hi Bulent,
    When I replace the current styles.css with the latest one you posted the site breaks. I’m a little puzzled.

    Thanks – am generally loving the theme!

    #7071

    Bogdan Oasa
    Keymaster

    complete with the code pasted here above rather tham replacing everything. it should be fine.

    #7074

    h8usernames
    Participant

    Unfortunately I already tried that bvoasa however it still broke the site 🙁

    #7185

    kainozen
    Member

    same with h8usernames, i already copy and replace old code with http://pastie.org/pastes/6222420 but still can’t work 🙁

    my blog  http://farizdp.com

Viewing 15 posts - 1 through 15 (of 35 total)

You must be logged in to reply to this topic.