Kato De Bock
Kato De Bock

Reputation: 23

Can I somehow give this shortcode custom css even tho Advanced settings > Custom css says "Pro only"?

For a final assignment I need to make a website in wordpress. I'm making it using an existing theme and Elementor, a drag and drop website builder. I used a shortcode widget to get posts with the tag 'featured' displayed on the homepage. However it doesn't look very pretty. The theme & page builder I'm using only offers custom css for those that pay for the pro version. Is there a way to work around this and maybe add css directly to a file somewhere?

This is the shortcode I use to display the posts with the 'featured' tag:

[display-posts tag="featured" include_date="true" date_format="F j, Y" image_size="thumbnail" include_excerpt="true" wrapper="div" posts_per_page="1"]

Upvotes: 2

Views: 169

Answers (2)

LongNguyen
LongNguyen

Reputation: 11

You can use the child theme then put your custom CSS code to the file style.css in the child theme folder.

Simply create a child theme with this plugin https://wordpress.org/plugins/child-theme-generator/

Upvotes: 1

Callum C.
Callum C.

Reputation: 61

Typically there is an Additional CSS section in the Appearance > Customize > Additional CSS section from the admin dashboard. You can put custom CSS there.

Upvotes: 3

Related Questions