- Posts: 21
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Where to turn off adding # to tags in K2 articles?
[SOLVED] Where to turn off adding # to tags in K2 articles?
- Chad Criswell
-
Topic Author
- Offline
- Junior Member
Less
More
8 years 9 months ago #156585
by Chad Criswell
Where to turn off adding # to tags in K2 articles? was created by Chad Criswell
When I add a tag to an article in K2 I am not adding the hashtag to them, yet when the article is displayed in the front end the system is adding the #. How do I turn this feature off?
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
8 years 9 months ago #156588
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Where to turn off adding # to tags in K2 articles?
Hi Chad,
It is added using CSS, look into your k2.css, and find this rule definition:
You can override this rule in your custom.css file, if your template has this feature.
It is added using CSS, look into your k2.css, and find this rule definition:
div.latestItemTagsBlock ul.latestItemTags li a::before {
content : "#";
}
You can override this rule in your custom.css file, if your template has this feature.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 9 months ago #156598
by Krikor Boghossian
Replied by Krikor Boghossian on topic Where to turn off adding # to tags in K2 articles?
Mohamed is right, as always :)
You can also move the components/com_k2/css/k2.css file into your template's /css folder and remove this CSS rule.
You can also move the components/com_k2/css/k2.css file into your template's /css folder and remove this CSS rule.
Please Log in or Create an account to join the conversation.
- Chad Criswell
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
8 years 9 months ago - 8 years 9 months ago #156777
by Chad Criswell
Replied by Chad Criswell on topic Where to turn off adding # to tags in K2 articles?
I was banging my head into the wall on this trying to figure out why it wasn't working after I copied the css file, moved the copy to /templates/rt_dominion/css/k2.css and removed that line from the file.
Finally I realized that the tag that had been referenced in the above replies is not the one that has to be changed in my particular case. There is also one like this that has to be changed:
div.catItemTagsBlock ul.catItemTags li a:before {content:"#";}
If you want to remove all of the # tags from your K2 tags you need to remove both lines.
Finally I realized that the tag that had been referenced in the above replies is not the one that has to be changed in my particular case. There is also one like this that has to be changed:
div.catItemTagsBlock ul.catItemTags li a:before {content:"#";}
If you want to remove all of the # tags from your K2 tags you need to remove both lines.
Last edit: 8 years 9 months ago by Chad Criswell.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Where to turn off adding # to tags in K2 articles?