WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Add Class or ID to Widget (2 posts)

  1. Mike Zielonka
    Member
    Posted 1 year ago #

    Hi There.

    Would you be open to adding a class or ID to the form for the sidebar widget?

    Right now you have to use a general selector for the sidebar you are using in your theme for the css but this will also will target other forms in the sidebar.

    Could we get a class such as subscribe2form added to the form or and ID added in the div container around the form so we can improve how we style subscribe2?

    Mike

    Example of Status Quo:


    .sidebar_widgets form {
    height: 115px;
    margin: 0 auto;
    padding: 0;
    width: 212px;
    }

    Purposed Change Impact:


    .subscribe2form form {
    height: 115px;
    margin: 0 auto;
    padding: 0;
    width: 212px;
    }

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Contributor

    Posted 1 year ago #

    @mikezielonka,

    If you are using the in-built widget that is activates on the Subscribe2->Settings page there is already an option to define a class name in the Widget settings accessible on the Widgets page by clicking on the widget once it's paced in a sidebar.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic