Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 20th May 2013, 11:17 AM   #1
HyperActive Warrior
War Room Member
 
Beatrice's Avatar
 
Join Date: 2010
Posts: 475
Thanks: 63
Thanked 46 Times in 40 Posts
Default
coding for alignment in wordpress
Share on: 
fb share twitter share gplus share more share

Hello!

Is there a simple piece of coding that allows pictures to be aligned side by side in a worpress template?

I'm using Mainstream theme.

Thanks

FREE Video to Build Your Website:

http://www. createmyownwebpage.net

This Step-by-Step video guide will show you how to buil your website from scratch!(For FREE)
Beatrice is offline  
Unread 20th May 2013, 01:25 PM   #2
ResponsiveDesignTest.Net
Registered Member
 
Michael71's Avatar
 
Join Date: 2011
Location: Rostock, Germany
Posts: 829
Thanks: 106
Thanked 225 Times in 194 Posts
Default
Re: coding for alignment in wordpress
Share on: 
fb share twitter share gplus share more share

CSS... float left...

depends on the width/height of the elements, the parent element,...

I would maybe go with a LI

HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
Michael71 is offline  
Unread 20th May 2013, 11:22 PM   #3
Warrior Member
 
Join Date: 2010
Posts: 28
Thanks: 6
Thanked 0 Times in 0 Posts
Default
Re: coding for alignment in wordpress
Share on: 
fb share twitter share gplus share more share

Use the alignment option in editor, or you can manuly add <div align="left, right, center"> use one of alignment.

Pakiisp is offline  
Unread 22nd May 2013, 03:24 AM   #4
HyperActive Warrior
Registered Member
War Room Member
 
WPcrew's Avatar
 
Join Date: 2012
Posts: 230
Thanks: 12
Thanked 67 Times in 57 Posts
Default
Re: coding for alignment in wordpress
Share on: 
fb share twitter share gplus share more share

Images can also be set to alignnone (that's by default), but both images can't be wider then content area. If theme has defined style for content images, like padding, border, margin and similar, that will increase space needed for image.

To be super safe, both images need to be smaller then 50% of content area (try with 40%).
WPcrew is offline  
Closed Thread


Bookmarks

Tags
alignment, coding, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:56 PM.