Support » Plugin: The Events Calendar » CSS for sidebar widget

  • Resolved medcorinc

    (@medcorinc)


    Hello,

    I seem to be having a problem putting a border around this widget when its in the sidebar. This widget is being displayed on both my homepage sidebar and within one other page within the site. I am trying to add a border around this CSS style…

    .tribe-events-list-widget .widget-content {border:…..}

    When I do this it puts a border around the homepage widget ONLY. NOT the other sidebar widget within a different page. Then, this is where it gets weird, Ill navigate to a different page and return the homepage and this border is completely gone around the events widget in the sidebar.

    Very confusing and annoying as I’ve been messing around with this all day and no luck. Any help would be appreciated.

    Thanks

    https://wordpress.org/plugins/the-events-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,
    try the following code and see if you can put a border around the widget when its in the sidebar:

    .tribe-events-list-widget {
    border:2px solid #a1a1a1;
    padding:10px 40px;
    background:#dddddd;
    border-radius:25px;
    }

    Plugin Author leahkoerper

    (@leahkoerper)

    It’s been a month, so in accordance with our forum guidelines I’m shutting this thread. Thanks for your support!
    ~Leah

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS for sidebar widget’ is closed to new replies.