Hi guys,
Is there a way of making these links appear as buttons, similar to the Call to Action text, or can I put a background colour behind them to make them stand out?
Thanks
(16 posts)
(2 voices)
Hi guys,
Is there a way of making these links appear as buttons, similar to the Call to Action text, or can I put a background colour behind them to make them stand out?
Thanks
Hello olicorse,
Go ahead and take a screenshot and highlight the areas so we know exactly which elements your referring to. If possible send us a link to your site as well.
It would be easier to add the button shortcode in your extra header text field.
[button size = "small" link = "#"]Text[/button]
Thanks, this is a great start - is there a way of
-changing the colour of the buttons
- reducing the size of the text on the buttons
- moving the main menu down a bit
Thank you for your help so far.
1. See here for changing colors, http://mysitemyway.com/docs/index.php?title=Using_Shortcode_Colors.
2. Add this in Dashboard -> your theme -> General Settings -> Custom CSS,
.header_links .button_link { font-size: 12px !important; }
3. Add this as well,
#primary_menu { position: absolute; top: 40px; right: 0px; }
And then play around with the top and right values until it is positioned where you want it.
Thanks Elliot - this is nearly perfect!
I just want to nudge the phone number and social buttons down a bit now so they're in line with the 'Guest' and 'Client' buttons.
I have this existing line in the CSS:
.header_text { font-size: 16px !important; }
Many thanks
Also, when I hover over the buttons, they have an animated fade effect. However, this makes them turn slightly transparent (as you can see on the 'Client login' button in the attached image)
Is there anything I can do to change this, or just turn off the fade altogether?
Thanks
Try inserting the HTML instead,
<a class="button_link small_button black" href="#" style = "margin-top: 5px;"><span>Guest Login</span></a>
You can add some top margin as seen above.
Whereabouts do I insert that code? In the Custom CSS box or somewhere else?
The same place you inserted the shortcodes, replace them with that.
That's great, thanks.
Can you offer any help with the fading animation I mentioned?
Many thanks
It shouldn't be fading anymore since we took out the "hover_fade" class. Send us a link to your page.
Hi, sorry for the delay. The buttons are still fading and the site link is http://www.olicorsedesigns.com/celebration.
Thanks
Try opening up /wp-content/themes/infocus/shortcodes.css and starting on line 681 you should see this,
.testimonial_next:hover,.testimonial_prev:hover,#searchsubmit,#submit,.hover_fade,.fancy_link,.fancy_button,.button_link,.tabs_framed a,.top a{opacity:1;
-webkit-transition:all .5s ease;
-moz-transition:all .5s ease;
-o-transition:all .5s ease;
transition:all .5s ease;}
.testimonial_next,.testimonial_prev,#searchsubmit:hover,#submit:hover,.hover_fade:hover,.fancy_link:hover,.fancy_button:hover,.button_link:hover,.top a:hover{opacity:.7;}
Try removing the ".fancy_button" and ".button_link" from those lines.
You must log in to post.