Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 183
Total: 183

Author Topic: Font colour change  (Read 4112 times)

0 Members and 1 Guest are viewing this topic.

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Font colour change
« on: June 03, 2015, 12:15:17 pm »
Hi,

I would like to change the font colour as shown in the image of the default theme below to a lighter colour so that it can be seen in the another theme I have installed.

Can you help please?


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Font colour change
« Reply #1 on: June 03, 2015, 01:03:31 pm »
That text is found in themes/default/gallery2.template.php

Around line 6277
Code: [Select]
echo '<tr class="titlebg"><td align="center" colspan="', $maxrowlevel, '">';

if ($g_bulk && GetCatPermission($cat,'addpic',true) === true)
echo '<a href="', $scripturl, '?action=gallery;sa=bulk;cat=', $cat, '">' , $txt['gallery_text_bulkadd'], '</a>&nbsp; - &nbsp;';

if ($g_manage)
echo '<a href="', $scripturl, '?action=gallery;sa=addcat;cat=', $cat, '">', $txt['gallery_text_addsubcat'], '</a>&nbsp; - &nbsp;';

if ($g_add && GetCatPermission($cat,'addpic',true) === true)
echo '<a href="', $scripturl, '?action=gallery;sa=add;cat=', $cat, '">', $txt['gallery_text_addpicture'], '</a>&nbsp; - &nbsp;';

if (GetCatPermission($cat,'addvideo',true) === true)
if ($g_video)
echo '<a href="', $scripturl, '?action=gallery;sa=addvideo;cat=', $cat, '">', $txt['gallery_form_addvideo'], '</a>&nbsp; - &nbsp; ';

echo '
<a href="', $scripturl, '?action=gallery">', $txt['gallery_text_returngallery'], '</a></td>
</tr>
</table>
</form><br />';

You will need to change the part class="titlebg"
Try changing titlbg to either catbg or windowbg or windowbg2
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Font colour change
« Reply #2 on: June 03, 2015, 01:13:41 pm »
Thanks very much I'll check it out and get back to you

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Font colour change
« Reply #3 on: June 03, 2015, 01:26:31 pm »
I have now changed it to windowbg and it works well. Thanks very much for the quick reply

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Font colour change
« Reply #4 on: June 03, 2015, 01:42:05 pm »
Glad to help.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
13 Replies
16077 Views
Last post September 14, 2007, 06:36:13 pm
by lakestclair
1 Replies
7545 Views
Last post October 05, 2008, 09:35:59 am
by Kalphiter
5 Replies
11293 Views
Last post November 08, 2008, 09:37:11 pm
by Rafferty
2 Replies
4069 Views
Last post January 02, 2009, 09:15:39 pm
by Boomslanger
9 Replies
8317 Views
Last post April 01, 2013, 12:06:30 pm
by b0mbardo

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal