Plugin Author
Barry
(@barryhughes-1)
Yes, definitely. If it makes it easier to do so you could wrap the shortcode itself in an extra div with a suitable CSS class (or ID). That said, there are probably sufficient CSS hooks within your theme to target the widget only when it’s embedded in a page with something like this:
#content > article.page .widget.tribe-events-adv-list-widget h4 a {
color: purple;
font-weight: bold;
}
Does that help?
Sorry if this is a dumb question, but I’d like it to pick up the exact styles that I’m using on the regular events pages,
ie when using this shortcode:
[event_rocket_list]
I want it to look the same as this page:
http://www.mydomain.com/?post_type=tribe_events&eventDisplay=upcoming
how do I do that?
Plugin Author
Barry
(@barryhughes-1)
Hmm, well it’s not going to look quite the same as the upcoming events list – because it’s really just embedding the events list widget, which is different.
You can certainly apply all kinds of styles, though, either by appending them to your theme’s stylesheet, enqueing stylesheets from The Events Calendar itself (if they happen to be missing on whatever page you are using that shortcode) or even by setting up completely new stylesheets of your own.