![]() |
Change font style - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Themes (https://community.mybb.com/forum-103.html) +---- Forum: Theme Support (https://community.mybb.com/forum-10.html) +---- Thread: Change font style (/thread-195788.html) Pages:
1
2
|
Change font style - feeling_bored - 2016-07-18 Hello its possible to change the font style for a theme , for example , if i want to use the font used in NETPEN theme to any other theme (like defult or any other) thanks for your answers RE: Change font style - Ashley1 - 2016-07-18 font styles are defined in global.css for the most part. The body tag and container tag sets the main style of the theme. body { background: #fff; color: #333; text-align: center; line-height: 1.4; margin: 0; font-family: Tahoma, Verdana, Arial, Sans-Serif; font-size: 13px; overflow-y: scroll; } #container { color: #333; text-align: left; line-height: 1.4; margin: 0; font-family: Tahoma, Verdana, Arial, Sans-Serif; font-size: 13px; min-width: 990px; } RE: Change font style - feeling_bored - 2016-07-18 do you mean i have to change the font style just for body { and #container {? RE: Change font style - Ashley1 - 2016-07-18 That is the main area that needs to be changed. There may be other instances, depending on the themes. RE: Change font style - feeling_bored - 2016-07-18 i want to make all the forum font-family: 'Exo 2', sans-serif; so i should change all the global cc font family ? RE: Change font style - Ashley1 - 2016-07-18 Yes. If you want to use that font, then you have to check the headerinclude template as well. There will be a link something like this: <link href='https://fonts.googleapis.com/css?family=Exo+2' rel='stylesheet' type='text/css'> You need to copy that over into the headerinclude of the theme where you want to use the font. RE: Change font style - feeling_bored - 2016-07-18 thanks sir , its working now ... thanks again one more time for effort best regards Sir , i have another question its possible to move the plugin (aclear news bar) under the navigation zone because its inside the navigation,but i want it under the navigation zone thanks sir RE: Change font style - Ashley1 - 2016-07-18 I installed this quickly, and it already sits below the breadcrumb navigation. In the plugin file you can see the following also, which places it under the navigation:
RE: Change font style - feeling_bored - 2016-07-18 (2016-07-18, 05:34 PM)Ashley1 Wrote: I installed this quickly, and it already sits below the breadcrumb navigation. In the plugin file you can see the following also, which places it under the navigation: maybe its under the navigation in the defult theme . but i used project theme (by Iandrew) and its inside the navigation as you see , thanks for your suggess regards RE: Change font style - Ashley1 - 2016-07-18 You need to convert the plugin to fit your theme. What does that theme have in the nav template? |