Archived topic
How to create different info boxes with generatepress
5 replies · Started by Rohan Verma on December 2, 2022
Hello,
We have been using GP Premium with GP Block pro. We want to show different info with coloured boxes inside articles. We know it is very easy to do with block editor but we are using classic editor as our team is on that.
We need to show something like this site: https://tinyurl.com/2kzln4uz
We have shared the website's URL in the private chat. Please check and let us know how we can achieve that.
Thanks and regards
Hi Rohan,
If you're using the Classic Editor, you can probably add it manually through custom HTML. Just give it a unique class so you can have one CSS for all your info boxes. Providing this sort of custom support would be out of our scope though.
Another route is to look for an infobox plugin that has a Shortcode. It might be good to ask for recommendations in our Facebook group as well for this: https://www.facebook.com/groups/1113359788719597
Can you suggest any article or guide how to get this with html. How to add a specific class.
You can check this article out: https://www.w3schools.com/howto/howto_js_alert.asp
You can add classes through the class attribute. It's also shown in the article.
Great Thnaks
You're welcome, Rohan!