vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Bookmarks (https://vborg.vbsupport.ru/showthread.php?t=210096)

Nintendo-Daily 04-02-2009 01:08 AM

Bookmarks
 
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:

Code:

<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?


All times are GMT. The time now is 02:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00967 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete