phpBBHacks.com - background color for text links on index page
Find affordable web hosting packages at iFroggy Hosting
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Style and Design Support and Development
 See a User Guidelines violation? Please contact us.
Author Message

Denny
Well Known User

Joined: 07 Feb 2009
Posts: 126

PostPosted: March 6th 2010, 9:24 am    Post subject: background color for text links on index page Reply with quote

I would like to put a highlight background under the index page links. The background I use is to dark for the text to show up. I am not sure of the right place to edit.

Here is an example of what I want to do to all of the text.



Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: March 6th 2010, 11:44 am    Post subject: Reply with quote

Hey Denny,

Thanks for posting.

So, for this, what you would need to do is locate the links you'd like to do this on, in your CSS file if it's a lot or you could do it inline if it's just a few. But, either way, you need to locate the link styles, usually it'll be "a" or "a:link", etc. In these styles, you'd then have to add this:

Code:
background-color:#000000;

This would give it a black background. You could set it to whatever color you'd like.

To make it look good, you may need to give it some padding, as well, such as:

Code:
padding:3px;

If you wanted to show us the pages you'd like it on and/or your CSS files, we would be able to help with where you have to place it, as well.

I hope that this helps.

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Denny
Well Known User

Joined: 07 Feb 2009
Posts: 126

PostPosted: March 6th 2010, 11:51 am    Post subject: Reply with quote

So far, after looking around, I opened the language en common php, and located some of them, and added an inline color code. The ones not with the background color, are ones I cannot find yet to change. Like Forum Club Photos. I'm thinking index html. I haven't got that far yet. I've been doing one at a time, uploading and checking it.
http://dennyshangout.com/dennyscartalk/index.php
Back to top
View user's profile Send private message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: March 6th 2010, 11:57 am    Post subject: Reply with quote

Hey Denny,

You should be able to change them in line in the template files, I would think. What are all of the links that you are looking to change, in total?

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Denny
Well Known User

Joined: 07 Feb 2009
Posts: 126

PostPosted: March 6th 2010, 12:02 pm    Post subject: Reply with quote

Forum Club Photos
User Control Panel
new messages
Logout
Login

Just on the index page. If they relate to other pages, no problem. My background makes it hard for some to see the text.

---------------------------------------------------

Forum Club Photos= Changed in overall header html
User Control Panel= Leaving because there is an icon there.
new messages= Leaving because there is an icon there.
Logout= Leaving because there is an icon there.
Login= Leaving because there is an icon there.

Plus, I can't find the right spot...
Back to top
View user's profile Send private message

~HG~
Dedicated User

Joined: 08 Nov 2003
Posts: 3913
Location: Australia

PostPosted: March 7th 2010, 12:41 pm    Post subject: Reply with quote

Denny what I would do is simply change the "class" in your overall_header.html from
Code:
<td class="genmed">
to
Code:
 <td class="cat">


This would then give you the very light blue divider bar that you see between your forum categories on the index page.
_________________
~HG~

|| rodneyangell.com || || phpbb-tutorials.com ||My Hacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Denny
Well Known User

Joined: 07 Feb 2009
Posts: 126

PostPosted: March 7th 2010, 1:01 pm    Post subject: Reply with quote

What about the ones I have already changed with the background color ?
Back to top
View user's profile Send private message

~HG~
Dedicated User

Joined: 08 Nov 2003
Posts: 3913
Location: Australia

PostPosted: March 7th 2010, 1:20 pm    Post subject: Reply with quote

Just remove the background you have added before changing the "class"
_________________
~HG~

|| rodneyangell.com || || phpbb-tutorials.com ||My Hacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Denny
Well Known User

Joined: 07 Feb 2009
Posts: 126

PostPosted: March 7th 2010, 1:23 pm    Post subject: Reply with quote

Ok, I'll have to do the edits, then I will try the change. Thanks HG.

Can't make a new reply. So,


Ok, if you refresh, that part looks good. What do I do with these. That was the main concern for some of the guys, they couldn't see it very well.
View unanswered posts | View active topics View new posts | View your posts
* and Delete all board cookies | The team
Back to top
View user's profile Send private message

~HG~
Dedicated User

Joined: 08 Nov 2003
Posts: 3913
Location: Australia

PostPosted: March 7th 2010, 1:57 pm    Post subject: Reply with quote

Agreed. It looks a lot better than adding backgrounds behind each link.
_________________
~HG~

|| rodneyangell.com || || phpbb-tutorials.com ||My Hacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Style and Design Support and Development All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.