Support Forums for LiveMesh Themes & Plugins › Forums › Agile Theme Support › Adding CSS Buttons to Header Menu
Tagged: agile, css button, css classes, Custom CSS, header menu
- This topic has 13 replies, 2 voices, and was last updated 10 years, 5 months ago by
kintz_09.
-
AuthorPosts
-
October 8, 2014 at 9:38 pm #9728
kintz_09
MemberHi,
I’m trying to add 2 css buttons to the header menu to match this site: netter3danatomy.com
I’ve tried to add the css using the CSS classes option in the menu structure settings but i’m not having any luck.
This is what I’ve added to the child style sheet
.login-menu { float: right; margin-top: 50px; display: block; color: #b11523; background-color: white; text-decoration: none; padding: 5px 12px; float: left; font-size:0.9em; text-transform: uppercase; font-weight: 100; border-top-left-radius: 5px; border-bottom-left-radius: 5px; } .signup-menu { float: right; margin-top: 50px; color: white; background color: #b11523; text-decoration: none; padding: 5px 12px; float: right; font-size: 0.9em; text-transform: uppercase; font-weight: 100; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
When adding these classes to the CSS Classes in the Menu, all that occurs is changing the background color.
Any idea what the best way to add the buttons are? I don’t need these buttons to show up when the slideout menu is in use.
I appreciate any tips or help.
Thanks!
October 9, 2014 at 11:25 am #9737Veena
ModeratorI didn’t see anything wrong in buttons,It looks fine.
Inorder to hide buttons pls use the below custom CSS in themeoptions –@media only screen and (max-width: 767px) { .logsign { display: none; } }
October 9, 2014 at 2:18 pm #9739kintz_09
MemberThanks for the code to hide the buttons on the mobile versions!
I am trying to mimic http://netter3danatomy.com on a new wordpress using the Agile theme on my local server. Using the css i posted above I get this result: http://awesomescreenshot.com/0403moca85
I’m guessing that the child css I created is conflicting with the theme css.
October 10, 2014 at 1:21 pm #9755Veena
ModeratorWhen you come online pls let me know.Let us see what can be done.
ThanksOctober 10, 2014 at 3:33 pm #9760kintz_09
MemberThis reply has been marked as private.October 11, 2014 at 1:04 pm #9772Veena
ModeratorSorry for the trouble given to you.Actually my intention was when your site becomes online.
ThanksOctober 15, 2014 at 3:43 pm #9834kintz_09
MemberThis reply has been marked as private.October 15, 2014 at 7:01 pm #9854kintz_09
MemberThis reply has been marked as private.October 15, 2014 at 7:03 pm #9855kintz_09
MemberThis reply has been marked as private.October 16, 2014 at 5:04 am #9863Veena
ModeratorNow your site seems fine.I am not finding any issue.You have already removed the hover effect, bullets and you changed the menu color also.If you need any further help pls let us know.
ThanksOctober 16, 2014 at 1:56 pm #9875kintz_09
MemberThis reply has been marked as private.October 20, 2014 at 3:29 pm #9959kintz_09
MemberHi, I’m really struggling to get this to work. Can you please offer some assistance?
I need the styling to not change on hover. I can’t figure out what to add to the css to prevent the button from changing size and the text color changing.
Here is the current css I am using:
/* Signup and Login buttons on Custom Menu Widget in Header*/ li#menu-item-20 { float: right; margin-top: 35px; display: block; color: white; background-color: #b11523; text-decoration: none; padding: 5px 12px; float: right; font-size: 0.9em; text-transform: uppercase; font-weight: 100; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-top: none; background-image: none; } li#menu-item-19 { float: right; margin-top: 35px; display: block; color: #b11523; background-color: white; text-decoration: none; padding: 5px 12px; float: left; font-size:0.9em; text-transform: uppercase; font-weight: 100; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top: none; background-image: none; }
I also cannot figure out how to make the buttons move up in the sticky header.
October 20, 2014 at 5:00 pm #9961Veena
ModeratorSorry for the delay.We will get back to you shortly.
October 20, 2014 at 7:39 pm #9963kintz_09
MemberI’ve figured out my issue.
-
AuthorPosts
- The topic ‘Adding CSS Buttons to Header Menu’ is closed to new replies.