Widget 100% width layout for list-widget.php
-
So we love this plugin, but after latest update we can’t get the Widget List to giev us layout needed. Trying to add the code to the recommended Themers folder. We have JUST started to use the method of a Theme folder tribe-events, and moved a copy of each of our custom code into it (not sure if ANY of it working!).
Homepage needs list of events widget to be 100% so tried this in theme/my-theme/tribe-events/list-widget.php:
<?php do_action( 'tribe_events_list_widget_before_the_event_title' ); ?> <!-- Event Title --> <strong><div style="width:100%;"> <div style="width:90%; float:left"></strong> <h4 class="tribe-event-title"> <a href="<?php echo esc_url( tribe_get_event_link() ); ?>" rel="bookmark"><?php the_title(); ?></a> </h4> <?php do_action( 'tribe_events_list_widget_after_the_event_title' ); ?> <!-- Event Time --> <?php do_action( 'tribe_events_list_widget_before_the_meta' ) ?> <div class="tribe-event-duration"> <?php echo tribe_events_event_schedule_details(); ?> </div> <?php do_action( 'tribe_events_list_widget_after_the_meta' ) ?> <strong></div> </div></strong>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Widget 100% width layout for list-widget.php’ is closed to new replies.