Support Forums

Changing Text color of the header Featured Listings

This is a discussion on Changing Text color of the header Featured Listings within the Templates, HTML, CSS, and Design Help forums, part of the General category; Currently my Featured Listings header's color is grey. How do you change it to a different color, where can I ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-06-2009, 11:52 PM   #1
Junior Member
 
Join Date: Feb 2009
Posts: 27
Rep Power: 8
loudmouthclassifieds is on a distinguished road
Default Changing Text color of the header Featured Listings

Currently my Featured Listings header's color is grey. How do you change it to a different color, where can I get different color codes and where is this located to do this in the template editor.

Sorry, I am new to all of this.

Thanks....Ray
loudmouthclassifieds is offline   Reply With Quote
Old 02-07-2009, 09:04 AM   #2
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,064
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Ray,

You need to provide us with more information in order to get assistance with this.

What version of the software are you using?
What template are you using?
The default featured ads doesn't have a banner at the top, did you purchase something that does this?
What page is this that you are seeing this? the home page?

It is usually a good idea to include your 68 version and template information in your signature, that way all of your posts will automatically include that basic information.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-07-2009, 10:18 AM   #3
Junior Member
 
Join Date: Feb 2009
Posts: 27
Rep Power: 8
loudmouthclassifieds is on a distinguished road
Default

Thanks Mike.....

I am on the v4.0.9 version. I am trying to change the color of the words featured ads on the home page (home.tpl). I believe it is set on the default color gray.


Thank you....Ray
loudmouthclassifieds is offline   Reply With Quote
Old 02-07-2009, 12:28 PM   #4
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,064
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

The words "Featured Listings" is only set with the h2 element which is defined in the style sheet.

What you may want to do is edit that in the home.tpl file itself by defining a new class for it.

Around line #36 find this:
HTML Code:
<h2>{$smarty.const.LANG_FEATURED_LISTINGS}</h2>
Change that to something like this:
HTML Code:
<h2 class="featured">{$smarty.const.LANG_FEATURED_LISTINGS}</h2>
Then in your style.css file in your css folder in your template folder define your new class. I would recommend that you copy the h2 declaration and then make it a new class like this:
Code:
.featured { font: bold 2em Arial, Sans-Serif; margin: 0; padding: 0; color: #xxxxxx}
replace #xxxxxx with the hex code of what color that you want as well as change any of the other parameters that you would like to.

Don't forget to backup both your home.tpl and style.css files before editing them. You may also want to add comments within the new files so that when you go back, you'll know what you changed from the original.

Hope that helps,
-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the background color of Featured and Highlighted ads kevin_laurentian Technical Support 10 04-27-2009 07:11 PM
How to Change Header Color? 68 Newbie Modules / Plugins / Modifications 3 08-17-2008 07:23 PM
Quick Text Color Question. redgsr Templates, HTML, CSS, and Design Help 2 03-08-2007 03:14 PM


All times are GMT -4. The time now is 09:32 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0