On the first feature "Patient Centered Care"
I've tried putting in some buttons using this code
Posted 27 December 2012 - 07:56 PM
On the first feature "Patient Centered Care"
I've tried putting in some buttons using this code
Posted 27 December 2012 - 09:23 PM
Hi there,
If you're inserting the buttons using html instead of the pl shortcodes you'll need to enter the link and the styling slightly differently to get it to work, the formatting isn't the same as using the shortcode markup.
The grey button is appearing as its using the default button. An example of the html markup is below, you can change it to suit
You can find full information on the bootstrap buttons and the various options you can apply to them here -
Hope that helps
Posted 27 December 2012 - 09:32 PM
Tried inserting this code:
<a href="
" class="btn btn-large btn-info">Learn More</a>and i still just get the stupid little grey button.
Posted 27 December 2012 - 09:56 PM
The feature area has its own <a> styling, you will have to override it with css if you want it to look like the blue button.
Posted 28 December 2012 - 01:08 AM
Ok in that case I have the following working
Create your own button class (mybtn) with the required info inside
Then apply the following css using !important to override the <a> styling
You might have to add a margin-top:50px to the above as I found my button came up too high and the top was cut off.
Hope that works for you :-)
Posted 28 December 2012 - 07:44 PM
getting there. button came out transparent. hmm.
Posted 29 December 2012 - 12:25 AM
Which browser are you using, could be that you need to add another css line for the gradient, different browsers use different css for the gradients. The full spectrum for gradients in different web browsers is below.
So to apply to the button above try
Posted 23 March 2013 - 04:24 PM
this works great for shortcode [pl_button type="info" link="#"]button[/pl_button]
As written on tools page
You may find that Wordpress inserts line-breaks when using Shortcodes on different lines, as in our example here. To prevent this from ruining your day, wrap problematic shortcodes in RAW. Example:
But actually I can not inspect a [pl_raw][/pl_raw] shortcode to find a class and insert it into function. What class is using this shortcode?
thanks
Posted 24 March 2013 - 09:11 AM
@arlomiller, follow James suggest above also, we have documentation which has more information on how to create a custom button.
@jankowalski
Not sure what you're referring to, can you create you own topic please.