Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-19-2011, 03:09 AM   PM User | #1
L1D3N
New to the CF scene

 
Join Date: Mar 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
L1D3N is an unknown quantity at this point
Question Help with tumblr custom html.

Hello,

I am trying to make it so my tumblr will show 5-10 photos of my latest "likes". I found this code and it works but it lines the photos up top to bottom in a single row and I would like them from left to right placed next to each other.

{block:Likes}
<center><div id="likes_container">
<h2>Stuff I like</h2>

{Likes limit="5" summarize="100" width="150"}

</div></center>
{/block:Likes}

Everything on my site is centered and the background is stationary so people just scroll my tumblr easily. no sidebars etc... I am a novice at this so please bare with me.

Thank You
L1D3N is offline   Reply With Quote
Old 03-19-2011, 03:40 PM   PM User | #2
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
Got a link?
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote
Old 03-20-2011, 07:30 AM   PM User | #3
L1D3N
New to the CF scene

 
Join Date: Mar 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
L1D3N is an unknown quantity at this point
Quote:
Originally Posted by harbingerOTV View Post
Got a link?
Sure, this is not my tumblr just an example since I am in the process of building my tumblr. On the right side it says "Stuff I Like" it displays the photos of his likes from top to bottom and I would like them displayed left to right.

LINK
L1D3N is offline   Reply With Quote
Old 03-20-2011, 04:55 PM   PM User | #4
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
this is the CSS that is effecting that part of his Tumblr:

Code:
li.like_post {
    float: left;
    margin-bottom: 15px;
    padding: 0 40px 0 0;
    width: 300px;
You'll need to adjust the width and the padding to make yours line up horizontally.
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote
Old 03-21-2011, 03:59 PM   PM User | #5
L1D3N
New to the CF scene

 
Join Date: Mar 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
L1D3N is an unknown quantity at this point
Sorry, I'm new to working with this. How would I work that into my code so it would line them up from left to right horizontal?
Thank You
L1D3N is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 02:45 AM.


Advertisement
Log in to turn off these ads.