• Resolved abprolabs

    (@abprolabs)


    Hello everyone,

    So the website I am editing for my company has a quote request button on several pages (all under services) – this is different from the quote request tab on the menu at the top. I have added new content, but cannot figure how to edit this button. The link to see what I am talking about is: http://abpro-labs.com/services/antibodies/ (big red button at the top that says “Request A Quote”.

    Any help on how I could edit this button and where it leads after clicking on it would be greatly appreciated. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • That button is an image file, located here: http://theurbannerd.com/AbproLabs/wp-content/themes/theme1254/images/requestbutton.png

    The simplest way to change it would be to edit or replace that image file.

    Is the ‘button’ shown in the post editor? If not, then a custom template may be in use in this custom theme.

    Search the templates for:

    <img style="border:none;" src="http://theurbannerd.com/AbproLabs/wp-content/themes/theme1254/images/requestbutton.png">

    If you want the img to be at your site, download it, then upload to the /wp-content/themes/theme1254/images/ and update the template accordingly.

    The link also points to that other domain:

    <a href="http://theurbannerd.com/AbproLabs/?page_id=471"></a>

    Change that also.

    Thread Starter abprolabs

    (@abprolabs)

    Thanks, so I found those links under Edit Themes:

    <div align=right><?php
    $link = 'http://theurbannerd.com/AbproLabs/?page_id=471'; //url link
    $src = 'http://theurbannerd.com/AbproLabs/wp-content/themes/theme1254/images/requestbutton.png'; //image url
    echo '<a href="'.$link .'"><img style="border:none;" src="'.$src .'" /></a>';
    ?></div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Would I download that image and upload it like you said, then change it to the new link under image URL… then after $link, would I put the link that I want it to go to?

    <div align=right><?php
    $link = '<==put your link between these==>'; //url link
    $src = '<==put image's full path between these==>'; //image url
    echo '<a href="'.$link .'"><img style="border:none;" src="'.$src .'" /></a>';
    ?></div>

    See what is noted in <== ... ==> above. And, you will need to upload a button image from somewhere…
    The $link will be the page taken to when ‘button’ is clicked on.
    The $src will be the image displayed.

    Make sure to backup this file first…

    Thread Starter abprolabs

    (@abprolabs)

    Thanks so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I Need to Edit The Request A Quote Button’ is closed to new replies.