• I’m having some trouble with styling the “View All Events” link in my footer widget which I see is fed from the li tag for the all-events-link class in em-events.php.

    It seems like putting a p tag inside the WordPress admin just outputs the HTML as text rather than as HTML. When inserting this additional tag via my local browser, the page renders as expected so I know an additional p tag would work.

    I even tried modifying em-events.php and put it under an events-manager folder under my theme folder (which has worked for the Give plugin) but it doesn’t seem like it makes it into the code like it does for the Give plugin.

    Ideally, I’m trying to just add a few additional classes to the one that’s already in the li tag but I’m not opposed to adding a p tag inside the li tag around the link, but I’m open to ideas.

    Does anyone have any recommendations for how to properly style this link?

    • This topic was modified 6 years, 8 months ago by rfmurphy81.
    • This topic was modified 6 years, 8 months ago by rfmurphy81.
    • This topic was modified 6 years, 8 months ago by rfmurphy81.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry but I’m afraid that you need to hack into the code to make this work since putting it on template will not work at the moment or use custom css styling the widget css class or id name

    Thread Starter rfmurphy81

    (@rfmurphy81)

    Yeah, I had to override the code in em-events.php since all other solutions I had tried didn’t work. I was hoping there was a solution that didn’t require me changing the core code, as I assume it will get overwritten the next time there is a new version. Are you able to accommodate this request in a future version? Or is there a specific way to style this in the current version which I may be overlooking?

    I think that’s the only way to do it at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Styling “all-events-link” Class’ is closed to new replies.