Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
  #1  
Old 08-26-2018, 12:32 PM
Reaper7 Reaper7 is offline
 
Join Date: Aug 2018
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Changing font size of forum titles on main page and topics in forums

Just wanting to know how to change the font size on the forum titles on the main page and perhaps the font sizes on other bits of that main front page. Also curious about topic font size inside a forum. I managed to change the font inside a post using using Style Variables from admincp, but nothing else.

Cheers in advance!
Reply With Quote
  #2  
Old 08-27-2018, 05:40 AM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could use css in the additional.css template to change the fontsize of any text.

HTML Code:
.forum-list-container .forum-title {
    font-size: 20px !important;
}
Reply With Quote
Благодарность от:
Reaper7
  #3  
Old 08-27-2018, 10:23 AM
Reaper7 Reaper7 is offline
 
Join Date: Aug 2018
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by delicjous View Post
You could use css in the additional.css template to change the fontsize of any text.

HTML Code:
.forum-list-container .forum-title {
    font-size: 20px !important;
}

Thank you and excuse my ignorance, but how do I get there?
Reply With Quote
  #4  
Old 08-27-2018, 11:58 AM
twistsol's Avatar
twistsol twistsol is offline
 
Join Date: Apr 2015
Location: Cottage Grove, MN
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the admincp, click on Styles --> Style Manager

for the style you want to change select the action Edit Templates

In the list of templates, select the category CSS Templates and then choose the template additional_css.

Enter the code tin that template and save
Reply With Quote
Благодарность от:
Reaper7
  #5  
Old 08-28-2018, 05:23 AM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or if you are on cloud you have to use the sitebuilder -> style -> css-editor.
Reply With Quote
  #6  
Old 08-28-2018, 07:21 PM
Reaper7 Reaper7 is offline
 
Join Date: Aug 2018
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by twistsol View Post
In the admincp, click on Styles --> Style Manager

for the style you want to change select the action Edit Templates

In the list of templates, select the category CSS Templates and then choose the template additional_css.

Enter the code tin that template and save
Thanks, I think I am almost there.



When I double click on CSS_additional.CSS (it is in orange) - nothing changes in the code tin (that I have pointed to with the arrow - is that the code tin?). It still reads 'CSS Templates.' However any other category I choose - it alters what is the code tin (or what I think is the code tin..)
Reply With Quote
  #7  
Old 08-30-2018, 09:35 AM
twistsol's Avatar
twistsol twistsol is offline
 
Join Date: Apr 2015
Location: Cottage Grove, MN
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you are looking at the screen you posted, the Edit button should be available, it appears to be dimmed on your site.



When you click edit or doubl click it, you should see and editing screen that appears as below



The code would be entered in the box labeled tempate. Sorry for the confusion by the way, there is no code "tin" that should have been "in" in my original post, but I got a C in typing in high school.
Reply With Quote
  #8  
Old 08-30-2018, 10:17 AM
Reaper7 Reaper7 is offline
 
Join Date: Aug 2018
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks twistol.

My edit button remains dimmed however. Can't click on it.
Reply With Quote
  #9  
Old 09-25-2018, 12:21 AM
twistsol's Avatar
twistsol twistsol is offline
 
Join Date: Apr 2015
Location: Cottage Grove, MN
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reaper7 View Post
Thanks twistol.

My edit button remains dimmed however. Can't click on it.
I didn't see your response until today. Are you, by chance on vbCloud? If so, you need to get at the additional css tremplate another way.

On your site, log in as administrator,
Set Edit Site to ON
Click on Style and the screen will switchto the style editor as shown below



click on the CSS Editor tab
select your style and select the template css_additional.css



Enter the text in the box provided and save changes.
Attached Images
File Type: jpg Screen Shot 2018-09-24 at 9.12.38 PM.jpg (47.6 KB, 0 views)
File Type: jpg Screen Shot 2018-09-24 at 9.15.35 PM.jpg (46.5 KB, 0 views)
Reply With Quote
Reply

Thread Tools
Display Modes

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. The time now is 03:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05484 seconds
  • Memory Usage 2,267KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete