|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 68
Rep Power: 4 ![]() |
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,172
Rep Power: 102 ![]() ![]() |
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 |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2008
Posts: 68
Rep Power: 4 ![]() |
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 |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Mar 2006
Posts: 4,172
Rep Power: 102 ![]() ![]() |
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 |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Mar 2008
Posts: 813
Rep Power: 22 ![]() |
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. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |