Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

Notices

 
LinkBack Thread Tools Display Modes
Old 05-08-2009, 07:38 AM   #1
Member
 
Join Date: Aug 2008
Posts: 68
Rep Power: 4
nagrap2 is on a distinguished road
Default listingextras.tpl Changing icons

Hi,

I am trying to replace the default images for links suchas "Add to Favorites, Printer Friendly Version, etc"

I have placed image files on server.

I have updated the CSS file with the new image filenames for the following sections:

.favorites {
background: url('../images/favorites.png') left top no-repeat;
padding: 0px 0 2px 20px;
margin-left: 10px;
height: 75px;
}

The issue I'm having is the height of the image on the front end has not adjusted to 75px as per my css above, instead the image has been truncated up to the height of the text. Is there some other parameter I need to set in order to increase the height of the image?
__________________
Many Thanks,

Nagrap2

Developer Version 4.1
nagrap2 is offline   Reply With Quote
Old 05-08-2009, 08:15 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,172
Rep Power: 102
Lhotch is just really niceLhotch is just really nice
Default

Im no css guru so cant tell you if other parameters may be needed but I having the browser do resizing of images makes for cappy looking images. Resize the imaze in a legitimate image editiong software to be the size you want displayed on the page.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 05-08-2009, 11:44 AM   #3
Member
 
Join Date: Aug 2008
Posts: 68
Rep Power: 4
nagrap2 is on a distinguished road
Default

Hi,

The image is already sized, I am not trying to resize it. I have removed any height settings from the CSS file for the class .favorites but on the front end the image is still being truncated and only displaying the top part of it.
__________________
Many Thanks,

Nagrap2

Developer Version 4.1
nagrap2 is offline   Reply With Quote
Old 05-08-2009, 11:50 AM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,172
Rep Power: 102
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by nagrap2 View Post
Hi,

The image is already sized, I am not trying to resize it. I have removed any height settings from the CSS file for the class .favorites but on the front end the image is still being truncated and only displaying the top part of it.
Then its probably going to have to do with a surrounding elementm padding, margin etc but without being able to see it and having no idea what template you are even using all anyone can do is guess.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 05-11-2009, 10:28 AM   #5
Moderator
 
 
Join Date: Mar 2008
Posts: 813
Rep Power: 22
seymourjames has a spectacular aura about
Default

Put a margin for height in the css and I am pretty sure it will be fine. We used to do this in our old templates because of this problem. I thought it was fixed in the new default template.

As Larry says

Please post your 68 Classifieds type (Designer, Developer), version (4.0.x, 4.1.x) and template in your postings asking for help. This information will help you get better answers for your posts. A great place to do this is in your signature!

Also, a link to your site means it can be analyzed or we are just guessing.
__________________
TemplateCodes.com
seymourjames 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
Viewlisting.tpl and listingextras.tpl problems bowers01 v4 Questions & Support 4 07-05-2008 03:24 AM
Catagory Icons acantin HTML, CSS, and Design Help 2 05-06-2008 08:22 PM
Changing Folder icons mudchucker HTML, CSS, and Design Help 2 07-07-2007 11:56 PM
Admin icons problem Sinisa v3.1 Questions & Support 4 01-18-2007 10:54 AM
Anyone know how to removed the photo icons.... sbuell20 v3.1 Modules & Modifications 5 08-04-2006 11:38 PM


All times are GMT -4. The time now is 08:54 AM.


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