- This topic has 15 replies, 3 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
February 8, 2023 at 10:08 pm #2526750
Trạng
hi there, i want to add this icon 🔥 into the trending category name but there’s error when I do that. How is it possible? PLease help to do it.
February 8, 2023 at 10:23 pm #2526761Fernando Customer Support
Hi Trang,
By default, some servers don’t allow such “emojis” to be added on the backend or on your site. Perhaps your server is one of those.
For reference, can you provide the link to where we can see where you want that added?
February 9, 2023 at 12:11 am #2526839Trạng
Hi Fernado, I want to add it into my homepage menu. I place my homepage url in private section. Please help to check.
About the server, so let’s say I will contact the hosting service to allow me add emoji? right?
February 9, 2023 at 12:31 am #2526855Fernando Customer Support
Yes, it’s a server related thing or something else.
We can also try adding it through Custom CSS. If you’re okay with this, can you create a Post with that category, and I’ll figure out if it’s possible?
February 9, 2023 at 12:39 am #2526857Trạng
I already created post inside “trending 2023” category. Please help to check!
February 9, 2023 at 12:48 am #2526865Fernando Customer Support
Can you try adding this through Appearance > Customize > Additional CSS?:
a[rel="category tag"][href="https://dinhbatrang.com/xu-huong/" ]::before { content:"🔥 "; }February 9, 2023 at 1:39 am #2526895Trạng
Thank you. after adding your css code, I manually place that emoji into Category name. It displays well now hehe. Thank you so much Fernando.
So with GP premium, can I add a highlight button into the menu section, mate? Can you give me some advice
February 9, 2023 at 1:44 am #2526901Fernando Customer Support
Can you provide an example of a “Highlight button”? Are you referring to something like the Donate Button here?: https://gpsites.co/donate/
February 9, 2023 at 1:56 am #2526916Trạng
Yup something like that or like this one
February 9, 2023 at 3:59 am #2527012David
StaffCustomer SupportHi there,
this article explains how to make a navigation menu item look like a button:
https://docs.generatepress.com/article/adding-buttons-navigation/
The CSS can be adjusted to suit the style, but that will get you started.
February 9, 2023 at 11:08 pm #2528075Trạng
hi Fernando bro, what if I want to add another category with another icon? Let’s say “✍️ Misc” category?
February 9, 2023 at 11:15 pm #2528083Fernando Customer Support
In this code:
a[rel="category tag"][href="https://dinhbatrang.com/xu-huong/" ]::before { content:"🔥 "; }Just replace “xu-huong” with the category slug.
Replace 🔥 as well.
February 9, 2023 at 11:19 pm #2528086Trạng
So let’s say every time I want to add a new category with an icon, I add 1 line of css code similar to what you provided and replace the icon & slug, this new line of code will be below that one has already existed, right?
February 9, 2023 at 11:29 pm #2528094Fernando Customer Support
Yes, that’s correct.
The alternative would be to reach out to your hosting provider to check if those emojis are not allowed by the server or some security system.
I tested 🔥 on my website and it worked. So it must be a server/security thing for your site.
February 9, 2023 at 11:37 pm #2528097Trạng
perfect, thank you a lot Fernando. Your support is so lit 🔥
-
AuthorPosts
- You must be logged in to reply to this topic.