Nav bar links and borders colors
Baku
Registered Users Posts: 8 Big grins
I am trying to achieve the homepage language menus I have found here : tunguyenwedding.com .
Unfortunagely, I can not get the exact results.
My web site : www.vladimir.photography .
The CSS code currently implemented is :
.sm-page-widget-nav-toplink, .sm-page-widget-nav-toplink:last-child {
border: 2px solid #4c4c4c !important;
padding: 5px 20px 5px 20px !important;
margin-bottom: 0px !important;
}
.sm-user-ui .sm-page-widget-nav-toplink a:hover {
background-color: #FFFFFF;
border-color: #FFFFFF;
color: #4c4c4c !important;
}
/* Transition the links so they fade in and out */
a {
-webkit-transition:color 0.5s ease-in;
-moz-transition:color 0.5s ease-in;
transition:color 0.5s ease-in;
}
What changes should I make to achieve the results similar to tunguyenwedding.com ?
1. What CSS code should I add to change the original color of the menu link ?
2. How should I change the CSS code get the border color change on mouse hover with the fade effect ?
Thanks
Unfortunagely, I can not get the exact results.
My web site : www.vladimir.photography .
The CSS code currently implemented is :
.sm-page-widget-nav-toplink, .sm-page-widget-nav-toplink:last-child {
border: 2px solid #4c4c4c !important;
padding: 5px 20px 5px 20px !important;
margin-bottom: 0px !important;
}
.sm-user-ui .sm-page-widget-nav-toplink a:hover {
background-color: #FFFFFF;
border-color: #FFFFFF;
color: #4c4c4c !important;
}
/* Transition the links so they fade in and out */
a {
-webkit-transition:color 0.5s ease-in;
-moz-transition:color 0.5s ease-in;
transition:color 0.5s ease-in;
}
What changes should I make to achieve the results similar to tunguyenwedding.com ?
1. What CSS code should I add to change the original color of the menu link ?
2. How should I change the CSS code get the border color change on mouse hover with the fade effect ?
Thanks
0
Comments
Remove that code and use this:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks a lot !
I was going to look at your site again because it didn't do exactly what I thought. The hovers didn't work correctly. This works better.
Before if you hovered on the border, it wouldn't click. Now it does.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
This code works with the border hover perfectly now.
However, the "עברית" button text doesn't change it's color when hovered. Strange...
Any ideas ?
Sorry about that. Forgot to add the other
:hover
:Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thank you again Mike ! :)
I am wondering if CSS code is available for the drop down or fly out buttons to match the previously mentioned CSS. Is it possible to round the corners?
http://www.tomdphotos.com (http://www.avman.smugmug.com) Thank you in advance
Tom
Tom
http://avman.smugmug.com/
Add
border-radius: 5px;
here:Also, this
xxxxxx menu link
is not a valid expression.Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk