Can anyone tell me how to add CSS styling to each Tag?
Currently, all tags are horizontally listed with any sort of delimitation, so they look like they form a sentence with punctuation.
I want to add a border or background image to each tag, to make them look like they are seperated.
Thanks in advance,
Rich
This is my signature, there are many like it but this one is mine... |
I'm sure I'm not the only one wanting to make this change!
Anyone out there who can help?
Can anyone tell me how to add CSS styling to each Tag?
Currently, all tags are horizontally listed with any sort of delimitation, so they look like they form a sentence with punctuation.
I want to add a border or background image to each tag, to make them look like they are seperated.
Thanks in advance,
Rich
This is my signature, there are many like it but this one is mine... |
general.css
.one_tag
Use firebug. You would have been able to find the CSS selector just by right clicking on a tag.
https://www.deanbassett.com |
Hi Deano,
Sorry, I should have made it clear that I'm looking at tags in entry_view_block_info.html .
I cannot put any styling around individual tags, as they originate from __tags__ .
Any ideas?
This is my signature, there are many like it but this one is mine... |
Then i need you to be even more specific.
What page url would that template be used on. But if a tag does not have css then you can't style it.
https://www.deanbassett.com |
I'm looking at Modzzz Gigs 7.1 entry view - which uses the templates/base/entry_view_block_info.html
http://www.dolphinmods.com/71/m/gigs/view/I-will-create-a-BEAUTIFUL-pop-art-portrait
On the right of the page, you will see the tags - here's the firebug view:
<div class="infoUnit infoUnitFontIcon">
<i class="sys-icon tags"></i>
<a href="http://www.dolphinmods.com/71/m/gigs/browse/tag/pop art">pop art</a>
<a href="http://www.dolphinmods.com/71/m/gigs/browse/tag/illustration">illustration</a>
</div>
This is my signature, there are many like it but this one is mine... |
In a case such as this. All tags are passed to the template in one go, and is passed to that template by the module that uses it.
And because each tag is not wrapped in span with a CSS selector then there is only one way to do it. And that would be a source change to the mod itself to wrap the tag in a <span> with a css selector or add a class to the a link it is currently already wrapped in.
As the mod you are referencing is not a boonex mod the only ones that can help you figure that out would be either modzzz or others that happen to own it. I cannot help.
https://www.deanbassett.com |
Thanks Deano for your help.
I'll take a look in the module itself and try to figure it out.
:)
This is my signature, there are many like it but this one is mine... |