The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
The part of a thread's display for multi-page threads, on the top right and bottom right, that says "Page 1 of X, 1/2/3/etc"
I need to make that part more visible (larger). I'm guessing the template that needs to be edited is: threadbit_pagelink correct ? it currently has this line: <a href="$address<if condition="$curpage != 1">&page=$curpage</if>$address2">$curpage</a> What/where would I add to it to force it to use a larger font size? (ie: 14pt) |
#2
|
||||
|
||||
![]()
Are you sure that is the template? Do this - - 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.
I come up with a different template on my site (if we are looking at the same thing - maybe we aren't?) and mine has class="smallfont" in the link, so why not just remove the class and it should be normal sized? |
#3
|
|||
|
|||
![]() Quote:
Style Manger - edit templates > Threadbit Templates > threadbit_pagelink this is the contents: <a href="$address<if condition="$curpage != 1">&page=$curpage</if>$address2">$curpage</a> I THINK that's it. I only posted that to help someone interested him helping me with my problem. Anyway it doesn't matter - what I'm looking to do is change the font size of JUST the "Page 1 of X, 1/2/3/4" part that it shown at the topright and bottomright of each thread display page on thread that have multiple pages |
#4
|
|||
|
|||
![]()
Ok I think I'm overcomplicating what I want to do in my explaination of the problem...
The part circled in green (in the attachment) - I want to make THAT text *BIGGER*. Nothing else though. If I edit it in CSS Main to make that text bigger, it will make other text bigger as well. I thought someone who knows PHP might reply " oh sure, you don't have to use the CSS Main entry for that font.. you can force it to use a specific font size by adding [code] to [this] template" |
#5
|
||||
|
||||
![]()
If after turning on the html template comments, you are being told it is the threadbit_pagelink template, then your style is different than mine. Mine (which is default) is shown to be the four pagenav (Page Navigation) templates and all four have class="smallfont" in the <a> tag and if I take it out, the fonts are all normal size. Or, I added style="font-size:14pt" to one of them, just to see what would happen, and the fonts got very large.
|
#6
|
|||
|
|||
![]() Quote:
(this is for vb v3.6.8 - but I dn't think the templates that show this text have changed much over the last few releases a least) Ok ok, I saw in another post you said to view the SOURCE of the page... ok. It looks like it's in: <!-- BEGIN TEMPLATE: pagenav --> I will check that now. --------------- Added [DATE]1245297920[/DATE] at [TIME]1245297920[/TIME] --------------- Ok, pagenav has this line in it: <td class="vbmenu_control" style="font-weight:normal"><phrase 1="$pagenumber" 2="$totalpages">$vbphrase[page_x_of_y]</phrase></td> I'm guessing this is the line that needs to be changed somehow so that a hardcoded font size is used?? |
#7
|
||||
|
||||
![]()
You could just add the font-size to the <td> right there. That will just effect the part that says Page x or y though. You need to look at all four of the pagenav templates. I don't have a 3.6 board, so I don't know what the default templates are like for them, but if they have the smallfont class called, then try removing it as I did.
|
#8
|
|||
|
|||
![]()
Yes there are 4 templates (wow that's a lot for a little piece of text!
![]() pagenav_curpage <td class="alt2"><span class="smallfont" title="<phrase 1="$numbers[first]" 2="$numbers[last]" 3="$total">$vbphrase[showing_results_x_to_y_of_z]</phrase>"><strong>$curpage</strong></span></td> pagenav_pagelink <td class="alt1"><a class="smallfont" href="$address$address2<if condition="$curpage != 1">&page=$curpage</if>" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td> pagenav_pagelinkrel <td class="alt1"><a class="smallfont" href="$address$address2<if condition="$curpage != 1">&page=$curpage</if>" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>"><!--$relpage-->$curpage</a></td> (and the one I posted above this post). Can you give an example of that one of these would look like to force a text size of say, 14pt ? (I don't know ANY html or php so I won't even guess) I see 'smallfont' listed there but I wouldn't even know what to replace it with. |
#9
|
||||
|
||||
![]() Quote:
HTML Code:
<td class="alt2"><span style="font-size:14pt;" title="<phrase 1="$numbers[first]" 2="$numbers[last]" 3="$total">$vbphrase[showing_results_x_to_y_of_z]</phrase>"><strong>$curpage</strong></span></td> |
#10
|
|||
|
|||
![]()
Perfect! Just editing pagenav_curpag and pagenav_pagelink has it displaying MUCH more prominent now. Thank you !!!!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|