SimplePortal

Support => English Support => Topic started by: danzou on February 01, 2009, 09:03:15 PM

Title: Block Title Text in Caps
Post by: danzou on February 01, 2009, 09:03:15 PM
as the title says on my website the titel of all blocks is in Caps. is there anyway to change so that they are just the way i write when i create the block. ergo: "News" instead of "NEWS" for example.

and is there anyway to make the titles bold ?

im using:
SimplePortal 2.0.4
SMF 1.1.6

http://bollklubben.mine.nu/

the site is in swedish so you wont understand much but as you see all the block's titles are in CAPS and thats not what i want :D
Title: Re: Block Title Text in Caps
Post by: danzou on February 03, 2009, 09:19:16 AM
edited with some more info.
Title: Re: Block Title Text in Caps
Post by: [SiNaN] on February 03, 2009, 09:27:21 AM
SPortal.template.php

Find:

Code: [Select]
<tr class="catbg">
Replace:

Code: [Select]
<tr class="catbg" style="text-transform: none; font-weight: bold;">
It appears 5 times in the file.

I strongly suggest that you update to SMF 1.1.7, as some security issues were adressed since then. Go to www.simplemachines.org for detailed information.

Also you can try the latest version of SimplePortal, 2.1.1.
Title: Re: Block Title Text in Caps
Post by: Manu on February 03, 2009, 09:38:40 AM
I hope it's ok when I add something too.
There is a second way to make the title bold, but when you will do this, in your forum the titles will bold too.
This way is only a little change in the theme style.css.
When you add
Code: [Select]
font-weight: bold;to the code, the titles will be shown in bold, but as I said, in this moment the titles in the forum will be bold too. ;)

Search for
Code: [Select]
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg, tr.catbg td, .catbg3, tr.catbg3 td {
   color: #282828;
   padding-left: 10px;
   padding-right: 10px;
   background: #8b8b81 url(images/catbg.png) repeat-x;
}

Replace with
Code: [Select]
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg, tr.catbg td, .catbg3, tr.catbg3 td {
   color: #282828;
   font-weight: bold;
   padding-left: 10px;
   padding-right: 10px;
   background: #8b8b81 url(images/catbg.png) repeat-x;
}

And all titles in the portal and some in the forum are bold, but still with cabs. ;)
Title: Re: Block Title Text in Caps
Post by: danzou on February 03, 2009, 10:12:23 AM
im just afraid that somthing will bug when i update and that i must like redo the webpage or somthing. dunno if the theme works for 1.1.7

and thx manu i used your version cuss i thought that it looked good with bold in the form titles also. cheers :D
Title: Re: Block Title Text in Caps
Post by: [SiNaN] on February 03, 2009, 10:31:29 AM
Well, there is nothing to be afraid of updating. Just follow the insructions in the Admin CP and you will be done. You won't believe how smooth it is. If you will encounter any problems, you can post into the forum I linked above. Of course, choice is yours, I just wanted to remind.

Do you want me to mark this topic as solved?
SimplePortal 2.3.8 © 2008-2024, SimplePortal