Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

Search Widget Padding

  1. I would like to make the search widget centered and padded, so that my site looks more orderly and clean.

    You can see the current setup at: http://quotes.practicalmanliness.com/

    The widget is displayed on the front page and on the sidebar.

    Thank you!

  2. You must be a logged-in exclusive member to view this reply.

  3. It works nicely on the front page, but I am having some problems with the sidebar widget.

    The widget right border is gone.

    You can see it on this page: http://quotes.practicalmanliness.com/georgewashington/43/

    I am using this code:

    .content .widget-search {
    	width: 250px;
    	margin: 0 20px 20px auto;
    	padding: 1px 1px 1px 1px;
    
    	}
    
    #primary .widget-search {
    	width: 320px;
    	margin: 0 10px 20px auto;
    	padding: 10px 10px 10px 10px;
    	}

    I have been trying to adjust the width, margin, and padding, but I cannot seem to fix it.

    What am I doing wrong?

    Thank you!

  4. You must be a logged-in exclusive member to view this reply.

  5. I have reverted back to your original code and only changed the width. Even with the width at 10 pixels, it still extends to long.

    .content .widget-search {
    	width: 10px;
    	margin: 0 auto 20px auto;
    	padding: 1px 1px 1px 1px;
    	}
    
    #primary .widget-search {
    	width: 10px;
    	margin: 0 auto 20px auto;
    	padding: 1px 1px 1px 1px;
    	}

    What am I doing wrong?

  6. I figured out part of my mistake - I was editing front-page.css instead of the main style sheet.

    Now, I am editing the style.css file, but I still am having trouble.

    Here is my current code:

    .content .widget-search {
    	width: 200px;
    	margin: 0 auto 20px auto;
    	padding: 1px 1px 1px 1px;
    	}
    
    #primary .widget-search {
    	width: 320px;
    	margin: 0 auto 20px auto;
    	padding: 10px 20px 10px 10px;
    	}

    I want to make the title and border look like all the other widgets. How can I do that?

    Thank you! I really appreciate your help.

  7. You must be a logged-in exclusive member to view this reply.

  8. If you look at my site: http://quotes.practicalmanliness.com/charles-carroll/189/

    The title extends to the right edge of the search widget and the right border is missing.

    I am sorry to not be clear.

  9. You must be a logged-in exclusive member to view this reply.

  10. Victory!

    When I set the width to 298px, it worked perfectly.

    Thank you for your help, I never would have succeeded without you!

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Core Framework (53 posts)
  • Hybrid Theme (22,812 posts)
  • Bliss Theme (255 posts)
  • Options Theme (10,362 posts)
  • Visionary Theme (767 posts)
  • WordPress (192 posts)
  • WordPress Plugins (2,150 posts)
  • bbPress Themes (308 posts)
  • General Discussion (5,616 posts)
  • Critical Theme (2 posts)
  • Hybrid News Theme (160 posts)
  • Hybrid Original Theme (32 posts)
  • Leviathan Theme (16 posts)
  • Life Collage Theme (21 posts)
  • Old School Theme (3 posts)
  • Outline Theme (121 posts)
  • Skeleton Theme (46 posts)
  • Structure Theme (2,774 posts)
  • Members Plugin (2 posts)
  • Cleaner Gallery Plugin (14 posts)
  • Get the Image Plugin (3 posts)
  • Message Board Plugin (0 posts)
  • Widgets Reloaded Plugin (0 posts)
  • Breadcrumb Trail Plugin (0 posts)
  • Query Posts Plugin (86 posts)
  • Hybrid Hook Plugin (7 posts)
  • Hybrid Hook Widgets Plugin (0 posts)
  • Hybrid Tabs (6 posts)