Support Forums


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

 
LinkBack Thread Tools Display Modes
Old 02-06-2009, 10:52 PM   #1
Junior Member
 
Join Date: Feb 2009
Posts: 15
Rep Power: 1
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, 08:04 AM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,293
Rep Power: 37
Mike-N-Tosh is just really niceMike-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
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
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, 09:18 AM   #3
Junior Member
 
Join Date: Feb 2009
Posts: 15
Rep Power: 1
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, 11:28 AM   #4
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,293
Rep Power: 37
Mike-N-Tosh is just really niceMike-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
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
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

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the background color of Featured and Highlighted ads kevin_laurentian v4 Questions & Support 2 12-27-2008 08:58 PM
How to Change Header Color? 68 Newbie v4 Modules / Modifications 3 08-17-2008 06:23 PM
Adding a Text Header in Featured Listings VanWertAds*com v3.1 Modules & Modifications 5 07-21-2007 04:05 AM
Quick Text Color Question. redgsr HTML, CSS, and Design Help 2 03-08-2007 02:14 PM
adding link to featured listings text NJHomeGuide v3.0 Questions & Support 0 05-07-2006 03:21 PM


All times are GMT -4. The time now is 08:21 PM.


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