-
-
Hi,
I am using a price list with list items and have a button that says “Contact us to purchase” on it. Since I am using a one-page theme, I want this link to scroll to the Contact Us section when someone clicks on it. I tired doing this the way I set up my main navigation but it didn’t seem to work.
Can you walk me through how to set this link in the Price List up so it scrolls to the Contact Us section when clicked on? If you follow this link you will see an image of the button: https://pasteboard.co/pn0kYOI.jpg
Thanks!
-
Hello,
You have to set the link of the button to point there. It should be the full link. I edited it already. Please check your site.
Best regards!
-
-
Hi,
After updating the theme yesterday, the buttons I have on the price list with list items, “Contact us to purchase” are no longer centered in the box underneath the list. They are pushed to the right, and I can’t figure out how to center them again.
Any ideas?
i29.net
Thanks,
Courtney -
Hello,
To make the button as it was, i edited file vc_templates\price_list.php of parent theme. I replaced this line:
<a class="btn-bt '.esc_attr($cl_redata['overall_button_style'][0]).'"href="'.esc_url($button_link).'">'.$button_title.'</a>
with this:
<a class="btn-bt default '.esc_attr($cl_redata['overall_button_style'][0]).'"href="'.esc_url($button_link).'">'.$button_title.'</a>
They are centered and contoured now.Best regards!
-
This reply was modified 9 years, 10 months ago by
Mirela.
-
This reply was modified 9 years, 10 months ago by
-
Hi Mihaila,
Thank you for going in and making those changes; that is great! I did notice on my screen, they look a little pushed to the left now (https://pasteboard.co/2cdQlKkN.jpg). Is there anything you can do to push it to the right a bit so the white space around the button is even on both sides?
Thanks for your help! I appreciate it!
Courtney -
Hi Mihaila,
Is there anything you can do to push the button a little bit more to the right, so the white space around the button is even on both sides? Currently, the button is a little bit more to the left than center.
Thanks!
Courtney -
Hello,
Sorry for the late reply.
Please add these lines into your custom css box:
.price_table .price_button a { left: 51% !important;}
Best regards!
-
You must be logged in to reply to this topic.