Create linkable Buttons on my site
steperenko
Registered Users Posts: 89 Big grins
Hello.
I am working on my client pages. Here is what I have in mind: A client opens their gallery and they see their photos and links to products that I sell. I figured out how to include the links. I am struggling with layout. I would like the "links" to be buttons instead of plain text. I cannot seem to adjust the container width for each link. They are all scattered on the page ( I got them to be in the same line, but the width is not aligning). I would love to have my buttons on the side (right) if possible, instead of above or below. That is a minor issue at the moment though, I prefer buttons and width done over location.
I would love it if I could get the buttons to match the colors of my site. I am sure there is a code for that. I am a self taught beginner and would really appreciate a step by step easy explanation on how to make my site prettier.Linking to a page so that you can see what it looks like now.http://www.ksteppingphotography.com/Category/Seniors
Thank you!
I am working on my client pages. Here is what I have in mind: A client opens their gallery and they see their photos and links to products that I sell. I figured out how to include the links. I am struggling with layout. I would like the "links" to be buttons instead of plain text. I cannot seem to adjust the container width for each link. They are all scattered on the page ( I got them to be in the same line, but the width is not aligning). I would love to have my buttons on the side (right) if possible, instead of above or below. That is a minor issue at the moment though, I prefer buttons and width done over location.
I would love it if I could get the buttons to match the colors of my site. I am sure there is a code for that. I am a self taught beginner and would really appreciate a step by step easy explanation on how to make my site prettier.Linking to a page so that you can see what it looks like now.http://www.ksteppingphotography.com/Category/Seniors
Thank you!
0
Comments
You would need to surround your links in your html that you want to turn into buttons with button-tags like this (the example is from my blog, but it works in smugmug I tested it on one of my test-pages)
To make this look like a proper button you would then have to add some css, to define how your new class named "my_button" is going to look like:
Good luck
Lille Ulven
Thank you. I will try your code
HTML
[html]
<div class="product">
<span>WALL DISPLAYS</span>
<ul>
<li class="button"><a href="http://www.link-here.com">Collage Wall Displays</a></li>
<li class="button"><a href="http://www.link-here.com">Stand-out Wall Mounts</a></li>
</ul>
<span>Metal Prints</span>
<ul>
<li class="button"><a href="http://www.link-here.com">Canvas</a></li>
<li class="button"><a href="http://www.link-here.com">Thin Wraps</a></li>
</ul>
<span>PHOTO ALBUMS</span>
<ul>
<li class="button"><a href="http://www.link-here.com">Lay Flat Press Book</a></li>
<li class="button"><a href="http://www.link-here.com">Signature Albums</a></li>
<li class="button"><a href="http://www.link-here.com">Accordion Book</a></li>
</ul>
<span>SENIOR ANNOUNCEMENTS</span>
<ul>
<li class="button"><a href="http://www.link-here.com">General Information</a></li>
<li class="button"><a href="http://www.link-here.com">Types and Pricing</a></li>
<li class="button"><a href="http://www.link-here.com">Designs - HERS</a></li>
<li class="button"><a href="http://www.link-here.com">Designs - His</a></li>
<li class="button"><a href="http://www.link-here.com">Newest Designs</a></li>
</ul>
</div>
[/html]
CSS
You'll have to edit the 'http://www.link-here.com' on each link and obviously change the colors to suit.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
If you can describe how you want your buttons to look (maybe even by putting up an example from a different website) it would be easier to help you find a way make it as similar - if not equal - as possible.
Good luck
Lille Ulven