forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: crl on October 20, 2013, 10:12:59 pm

Title: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: crl on October 20, 2013, 10:12:59 pm
Just completed an upgrade from v1.4.10 to v1.5.24.

On my homepage previously I had a hyperlink on one of the categories, which displayed correctly on version 1.4.  However, on version 1.5 there is a small blue square at the end of the hyperlink (see pic).

Any idea what is causing this? and can it be removed?
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: Αndré on October 30, 2013, 12:18:51 pm
That icon is added to all external links, i.e. all links with the CSS class "external".
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: crl on October 30, 2013, 12:30:50 pm
Thanks for the information. This symbol did not appear on my old gallery 1.4. Is there a way to remove the symbol? It's not a major problem, just looks odd.
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: Αndré on October 30, 2013, 01:12:48 pm
Remove the icon from the external class in your theme's style.css file.
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: crl on October 30, 2013, 01:29:48 pm
Thanks. I have had a look at the theme (curve) style.css file. But I cannot find any reference to this icon. Please could you inform me where this is located on the style.css file? perhaps the line number?

Thanks
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: phill104 on October 30, 2013, 01:41:18 pm
It is very simple to locate any items css using the excellent Firebug extension for Firefox. With this you can simply click on any item and see the exact css that controls it along with the file and line it is in.

This is the code found at line 944

Code: [Select]
.external {
    background: transparent url('../../images/link.gif') 100% 50% no-repeat;
    padding-right: 10px;
}
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: crl on October 30, 2013, 01:47:41 pm
So how do I delete the icon from the style.css file?
Is it just a matter of removing "../../images/link.gif"?
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: Αndré on October 30, 2013, 01:49:07 pm
Remove the whole block Phill just posted.
Title: Re: Hyper-Link - Strange Blue Square Symbol after Upgrade
Post by: crl on October 30, 2013, 11:13:27 pm
Thank you so much for your help.
The problem is now fixed.
 :)