Home Forums Event Espresso Premium Alignment of Upcoming Events Widget

Alignment of Upcoming Events Widget

Posted: January 21, 2014 at 1:53 pm


January 21, 2014 at 1:53 pm

I can’t seem to find where to align the upcoming events widget. I used CSS provided in a different topic to remove the numbering. I’m trying to align them to the left. Please help.

WP Version – Latest
EE Version

Sidney Harrell

January 21, 2014 at 3:50 pm

It looks like your theme is wrapping everything in between the header and footer in a div with inline style of text-align:right. Unfortunately, this will override just about anything you can put in a css file. ( About the only thing you can do, aside from altering the theme (which is what I would do) is to add an inline style to the upcoming events widget. Look at templates/widget.php (copy it to uploads/espresso/templates before making any changes) at the function widget, lines 19-149. put in an

echo '<div style="text-align:left">';

at the start of the function, and

echo '</div';

at the end of the function.

The support post ‘Alignment of Upcoming Events Widget’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Sidney Harrell 6 years, 8 months ago ago

Topic Tags

Tagged: ,


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!