Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2006
Posts: 128
member
member
Joined: Oct 2006
Posts: 128
I'm trying to change just the font color of the links that appear underneath the post which say "previous topic", "index" and "next topic". I want to change just these link colors (or just the background behind just the text itself but not the background of the whole page) because my page background is pretty dark and the color I currently use is hard to read.

Is there a way to do this through the control panel? Thanks.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

You may need to change those links by assigning them unique style properties. Probably will need to alter the template (or where ever those links are being called) and assign those properties in Control Panel » Styles » Edit » Extra Properties

Football is too close for me to look up exact details right now wink



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

In /templates/default/showflat.tpl you'll see a <DIV> surrounding those three links, around line 194 (in v7.0). You should be able to add a style to that DIV to change the link colors and/or background color.

This is untested, so play with it. Change that <div> to <div class="prevnext"> then add something like this to "Extra Properties" in the Styles Editor:

I'm no CSS expert, but it'd probably be something like this (edit colors accordingly)
Code
.privnext a:link {
color: #222222;
background: none;
}
.privnext a:visited {
color: #222222;
background: none;
}
.privnext a:active {
color: #ff0000;
background: none;
}
.privnext a:hover {
color: #ff0000;
background: none;
}

Do the same for showthreaded.tpl once you got it working...




GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
4 members (Gizmo, Ruben, Baldeagle, 1 invisible), 677 guests, and 184 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240505)