Support » Plugin: Contact Widgets » please, insert into code class of UL tag

  • Resolved michal.dusek

    (@michaldusek)


    Hi developers. This works very wel on every website:
    In file source code class-bace-widget.php wrote this simple class:

    
    echo '<ul class="godaddy_contact_widgets">';
    

    Because it is very usefull for global css of wp installation:

    
    ul.godaddy_contact_widgets {
      list-style: none;
    }
    ul.godaddy_contact_widgets li {
      display: inline-block;
      padding: 5px;
    }
    

    And it good works with basic css colors in ever part of webpage.
    Maybe it could be in next version of this simply great plugin. Have a nice day.

Viewing 1 replies (of 1 total)
  • Plugin Author Frankie Jarrett

    (@fjarrett)

    Hi @michaldusek, thanks for the comment!

    You can target the parent widget class to alter the CSS of any Contact widgets, as seen in the default stylesheet.

    There is also a “global” widget class available for all widgets called .wpcw-widgets.

    So you could just do:

    .widget.wpcw-widgets ul {
      list-style: none;
    }
    .widget.wpcw-widgets ul li {
      display: inline-block;
      padding: 5px;
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘please, insert into code class of UL tag’ is closed to new replies.