Closed (fixed)
Project:
Page Style
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2008 at 11:01 UTC
Updated:
15 Feb 2009 at 23:10 UTC
Many thanks for this Module, it is just what I have being looking for.
However, I am currently seeing 2 of each of the icons for each link in Firefox and it would appear there are two icons in IE 7 but they overlap so not as obvious. ( i have attached a screenshot from FF2).
My settings are:
Block Type: Image Links [1]
List Display: Inline
Text Display: Hide Text in the Links
Hide Current Page Style
Is there a better combination of settings to achieve the same effect? If the icons weren't shown in duplicate, this is exactly what I would like.
| Comment | File | Size | Author |
|---|---|---|---|
| page style.png | 4.05 KB | cehwitham |
Comments
Comment #1
cehwitham commentedI have removed the bits of code like:
From lines 420, 421, 422 and 423 of pagestyle.module which seems to have solved this problem and still gives the full functionality of the module.
Can anyone see a problem with remove these image tags?
Comment #2
cehwitham commentedI had only tested this in Firefox which it gives the correct result. In IE7 no icons are displayed.
Comment #3
mrfelton commentedAs far as I could tell, no icons appear in IE 7 because it relies on on an empty tag with a background image applied via css - which IE will not render. I altered the module and added a into the tag, which brought back the icons in IE7:
pagestyle.module - lines 356-358
Obviously this is a bad way to fix it, but it it did work. This is only a problem when the text links are disabled.
I think it might also be something to do with the way the text links get hidden, but I'm not exactly sure how:
Comment #4
cehwitham commentedI'm out of the office for 6 weeks but I'll try this fix when I get back.
Thanks
Comment #5
CZ commentedDelete the class pagestyle_white_black, pagestyle_yellow_blue and pagestyle_standard in the function theme_pagestyle_html2() on line 420-423.
Comment #6
CZ commented