Let's use a Donate button as an example to show you how to add a custom button to your Village homepage.
Step 1: Access the Homepage Editor
Log in as an Admin, scroll down to the bottom of the homepage, and click Edit Home Page.
Step 2: Open the Source Code Editor
In the text editor, click the Source Code button to access the HTML code.
Step 3: Insert Your Button Code
Find the section of the code where you would like your button to appear and insert the following HTML code:
<a class="button" href="/donations/new">Donate</a>
Understanding the Code
The code above creates a Donate button that links directly to your Village's donation page.
You can customize two parts of the code to create buttons for different purposes:
- Link (green):
/donations/newis the destination URL. Replace it with the link to the page you want visitors to access when they click the button. For example, you could link to your services, events, or membership application page. - Button text (purple):
Donateis the text displayed on the button. Replace it with your preferred wording, such as "Become a Member," "View Events," or "Contact Us."
Step 4: Preview Your Button
Once you have inserted the code, you can see how the button will appear on your editable homepage.
Here are some examples of what your buttons may look like:
You can repeat this process to add as many custom buttons as you need and link them to different pages of your Village website.
Comments
0 comments
Please sign in to leave a comment.