View Full Version : Bookmarks
Nintendo-Daily
04-02-2009, 01:08 AM
How can I get more than 4 bookmarks on the same row?
http://img5.imageshack.us/img5/9474/97401304.png
Nintendo-Daily
04-03-2009, 01:28 AM
Bump...
How can I get more than 4 bookmarks on the same row?
Lynne
04-03-2009, 02:56 AM
Find the template and change the width. It's set to 25% for each of them.
To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
Nintendo-Daily
04-03-2009, 03:19 AM
Wow...great :) Thanks Lynne. It was the showthread_bookmarksite. I changed it from 25% to 20%. Now...is there a way to center those in the bookmarks area? I tried changing it from left to center but it didn't work it stacked them on the left.
Lynne
04-03-2009, 03:24 AM
I think you just have to play with the row/column properties or wrap them in a centered div tag or something. (Although, I really don't know if that will work since it's a horizontal list.)
Nintendo-Daily
04-03-2009, 03:32 AM
ugg...I'm not messing with that :)
nexialys
04-03-2009, 03:42 AM
text-align:center;
that is de definition to change/add...
Nintendo-Daily
04-03-2009, 03:46 AM
Hmm, it didn't work. This is what I have:
<li class="smallfont" text-align:center; style="width:20%; min-width:160px; float:$stylevar[left]; margin-top:$stylevar[cellpadding]px">
<if condition="$bookmarksite['iconpath']">
<a href="$bookmarksite[link]" target="socialbookmark"><img src="$stylevar[imgdir_misc]/$bookmarksite[iconpath]" border="0" alt="<phrase 1="$bookmarksite[title]">$vbphrase[submit_thread_to_x]</phrase>" class="inlineimg" /></a>
</if>
<a href="$bookmarksite[link]" target="socialbookmark" style="text-decoration:none">$bookmarksite[title]</a>
</li>
Lynne
04-03-2009, 03:49 AM
Nexia is right, just add that to the style definition for the list and it should center them. (not in the <li> tag, in the style for the <ul> tag)
Nintendo-Daily
04-03-2009, 03:56 AM
Where exactly would I find the Unordered List <ul> for this?
Lynne
04-03-2009, 04:24 AM
You need to find the template the same way I said to do so above in post 3.
Nintendo-Daily
04-03-2009, 04:32 AM
ok, I'll have to try it out. Thanks Lynne for all of your help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.