Support Forums for LiveMesh Themes & Plugins › Forums › Agile Theme Support › Button shortcodes
- This topic has 9 replies, 2 voices, and was last updated 10 years, 1 month ago by
Veena.
-
AuthorPosts
-
November 20, 2014 at 9:35 pm #10634
herbjoseph
MemberIs there a plugin I need to download for the button shortcodes to work? I tried to grab the shortcode off of the sample website but it didn’t work.
November 21, 2014 at 10:57 am #10657Veena
ModeratorPls copy button shortcodes from the theme documentation and use, It should work.
November 21, 2014 at 6:00 pm #10669herbjoseph
Member[button id=”purchase-button” style=”padding: 10px 20px;” color=”blue” type=”rounded” size=”large” “http://shopping.na1.netsuite.com/c.TSTDRV1209691/eMerge-InStock/index.html ” align=”center” ]Demo[/button]
I found this code and put it in my page. It almost works except for two things.
1. How can I change the color to match the skin color I chose.
2. The button doesn’t actually work, but instead just reloads the page. What could be causing this?
November 22, 2014 at 11:03 am #10686Veena
Moderator1.button color
.button.blue { background: #1e73be; }
2. You have missed “href” attribute in the button shortcode
[button id="purchase-button" style="padding: 10px 20px;" color="green" type="rounded" size="large" href="http://targeturl.com" align="left" target="_blank"]Green Button[/button]
November 24, 2014 at 5:18 pm #10725herbjoseph
MemberWhere should I put that code? I tried putting it in the custom css in the theme options but that didn’t work.
Adding the Href only made the page now redirect to a 404 page. The link works fine, its currently in use by another website.
November 25, 2014 at 4:26 am #10731Veena
Moderator1. I have given the custom css to change the “Demo” button color.Hope you want the same.
2. I am seeing an improper span tag in your link (href), so that it is linking to this address “http://dev.emergetech.com/instock-product-locator/%3Cspan”
Kindly replace it with below shortcode, i have checked it in my system and it is working fine.
[button id="purchase-button" style="padding: 10px 20px;" color="blue" type="rounded" size="large" href="http://shopping.na1.netsuite.com/c.TSTDRV1209691/eMerge-InStock/index.html" align="left" target="_blank"]Blue Button[/button]
December 2, 2014 at 6:40 pm #10814herbjoseph
MemberIt still isn’t working. I put the code in and its just showing up as code in the page.
December 3, 2014 at 3:43 pm #10845Veena
ModeratorIts working , i have added the same shortcode pls check it –
http://dev.emergetech.com/instock-product-locator/December 3, 2014 at 9:12 pm #10858herbjoseph
MemberAlright its working. But now it seems to be awkwardly placed and I cannot get it to the spot the other button was in. Can you help with this?
December 4, 2014 at 5:19 am #10866Veena
ModeratorI just gave you as an example inorder to show that the shortcode is working so i haven’t bothered about any alignment.
You can copy the same shortcode and use whereever you need. -
AuthorPosts
- The forum ‘Agile Theme Support’ is closed to new topics and replies.