Alignment of checkboxes in a sidebar search widget

  • Anonymous

    #30252

    Thank you for your suggestion. Unfortunately, it puts the labels too much to the right and they are not in the same line as the checkboxes. I tried changing different lines of code and nothing seems to work. I found this line of code on another forum but it is for putting the checkboxes under each other in Custom Forms 7 plugin.

    span.wpcf7-checkbox span.wpcf7-list-item { display: block; }

    Could you please tell me if there is a way to modify this code to suit the WPS Post Type Search widget?

    Mod

    Kenneth John Odle

    #30253

    Okay, take out the previous bits of code and try this:

    #pt-search-3 input {display:block; float:left;}

    Anonymous

    #30254

    Thank you for your reply. I tried the code and unfortunately the boxes and the labels are scrambled in the widget. I also tried to put “right” instead of “left” in the code and it put the labels nicely in a column on the left but the checkboxes were to the right and lower than the labels.

    Anonymous

    #30255

    I played with the code some more and finally the checkboxes and labels are where they should be. I used the following code:

    .sidebar-wrap #searchform input {
    display: inline;
    margin-right: 25px;
    }

    .sidebar-wrap #searchsubmit {
    float: right;
    margin-top: 80px;
    }

    Again, thank you very much for your help.

Viewing 4 posts - 11 through 14 (of 14 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.