- This topic has 9 replies, 2 voices, and was last updated 9 years, 2 months ago by
Tom.
-
AuthorPosts
-
October 4, 2014 at 9:12 am #36842
Klaus
Hi,
i’ve just installed BuddyPress 2.1 on a site and realized that all submit buttons are really small. BuddyPress uses standard input type submit buttons without any class at all.
How can i fix it, to show buttons in the same design as GeneratePress?October 4, 2014 at 9:24 am #36857Klaus
Here is a screenshot to illustrate the problem. I’m running BuddyPress on a closed membership site. So it’s not availlable in the public pages.
October 4, 2014 at 11:55 am #36898Tom
Lead DeveloperLead DeveloperHi there,
I can’t think of any GeneratePress styles that would cause this kind of issue, but it’s hard to tell without actually looking at a page where it’s happening.
Do you have any other plugins installed that may includes styles for buttons?
October 4, 2014 at 11:53 pm #37045Klaus
Hi Tom,
i have installed a demo version, running only generatepress and buddypress on this page:
https://fussballbambinis.de/intern/No other plugins installed. Same behavior.
October 4, 2014 at 11:55 pm #37046Tom
Lead DeveloperLead DeveloperExcellent – thank you!
I will investigate first thing in the morning π
October 5, 2014 at 12:05 pm #37156Tom
Lead DeveloperLead DeveloperWeird, BuddyPress seems to be using REM to determine the font size.
Adding this CSS should fix it:
#buddypress .comment-reply-link, #buddypress a.button, #buddypress button, #buddypress div.generic-button a, #buddypress input[type="button"], #buddypress input[type="reset"], #buddypress input[type="submit"], #buddypress ul.button-nav li a, a.bp-title-button { font-size: inherit; }
October 5, 2014 at 6:53 pm #37215Klaus
Yes and no.
Buttons are larger now, but not in the way the rest of generatepress looks like.
Some other buttons are super large now as on this page https://fussballbambinis.de/intern/gruppen/October 6, 2014 at 1:57 pm #37361Tom
Lead DeveloperLead DeveloperNot sure why BuddyPress includes all of these styles – they should just let the themes decide.
This code should replicate every other button using GeneratePress:
#buddypress .comment-reply-link, #buddypress a.button, #buddypress button, #buddypress div.generic-button a, #buddypress input[type="button"], #buddypress input[type="reset"], #buddypress input[type="submit"], #buddypress ul.button-nav li a, a.bp-title-button { background-color: #666; border: 0 none; color: #fff; font-size: inherit; padding: 10px 20px; } #buddypress .comment-reply-link:hover, #buddypress a.button:focus, #buddypress a.button:hover, #buddypress button:hover, #buddypress div.generic-button a:hover, #buddypress input[type="button"]:hover, #buddypress input[type="reset"]:hover, #buddypress input[type="submit"]:hover, #buddypress ul.button-nav li a:hover, #buddypress ul.button-nav li.current a { background: none repeat scroll 0 0 #606060; border: 0 none; color: #fff; outline: 0 none; text-decoration: none; }
October 7, 2014 at 12:39 pm #37574Klaus
Hi Tom,
thank you for your support. It’s awesome!
Everything looks perfect now.
Klaus
October 7, 2014 at 12:41 pm #37575Tom
Lead DeveloperLead DeveloperAwesome – glad I could help π
-
AuthorPosts
- You must be logged in to reply to this topic.