Forum Replies Created
-
AuthorPosts
-
September 3, 2014 at 3:22 am in reply to: Separes text in content like columns or blank space #122538vicentembd1Member
Anyidea?
🙁
vicentembd1MemberHello Jon:
You are the best!!! It´s work :-)!!!
Now, Sticky appears at the end of the web, affter footer, but It´s ok for me
Thank you, thank you, thank you 🙂
SUMMARY
FILE: style.css
FOLDER: wp-content/themes/agentpress-pro
CODE:
*******************
/* Secondary Navigation
--------------------------------------------- */.nav-secondary {
background-color: #002859;
display: none;
position: fixed;
top: 0;
width: 100%;
z-index: 999;}
.nav-secondary .genesis-nav-menu a {
padding: 20px;
padding: 2rem;
color: #fff; /* antes nada*/
}.nav-secondary .genesis-nav-menu .sub-menu a {
padding: 16px 20px;
padding: 1.6rem 2rem;
}.nav-secondary a:hover,
.nav-secondary .current-menu-item > a,
.nav-secondary .menu-item-home > a,
.nav-secondary .menu-item-home > a:hover {
color: #fff;
}.nav-secondary .sub-menu a:hover {
color: #fff;
}.nav-secondary .sticky-right {
float: right;
}
@media (max-width:767px) {
.nav-secondary { position:static !important; }******************************************
vicentembd1MemberAnyone That Could help me? 🙂
vicentembd1MemberHello Jon.. thanks for you support...
I want remove only sticky.
I´ve changed but it doesn´t work.. but I´m not sure if I do it well:
Thants is the code I put in my stylessheet:
FILE: style.css
FOLDER: wp-content/themes/agentpress-pro
NEW URL: http://www.construccionesjp.es (I use to test)CODE TUTORIAL (http://my.studiopress.com/tutorials/sticky-menu/)
************************
/* Secondary Navigation
--------------------------------------------- */.nav-secondary {
background-color: #333;
display: none;
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}.nav-secondary .genesis-nav-menu a {
padding: 20px;
padding: 2rem;
}.nav-secondary .genesis-nav-menu .sub-menu a {
padding: 16px 20px;
padding: 1.6rem 2rem;
}.nav-secondary a:hover,
.nav-secondary .current-menu-item > a,
.nav-secondary .menu-item-home > a,
.nav-secondary .menu-item-home > a:hover {
color: #fff;
}.nav-secondary .sub-menu a:hover {
color: #333;
}.nav-secondary .sticky-right {
float: right;
}
@media only screen and (max-width: 767px) {.nav-secondary .sticky-right {
float: none;
}}
****************************
NEW CODE
**********************
/* Secondary Navigation
--------------------------------------------- */.nav-secondary {
background-color: #002859;
display: none;
position: fixed;
top: 0;
width: 100%;
z-index: 999;}
.nav-secondary .genesis-nav-menu a {
padding: 20px;
padding: 2rem;
color: #fff; /* antes nada*/
}.nav-secondary .genesis-nav-menu .sub-menu a {
padding: 16px 20px;
padding: 1.6rem 2rem;
}.nav-secondary a:hover,
.nav-secondary .current-menu-item > a,
.nav-secondary .menu-item-home > a,
.nav-secondary .menu-item-home > a:hover {
color: #fff;
}.nav-secondary .sub-menu a:hover {
color: #fff;
}.nav-secondary .sticky-right {
float: right;
}
@media (max-width:767px) {
#subnav { position: absolute;left: -999px;top: -999px;}}
*******************************
Thank you very much!!
vicentembd1MemberThank you :-)!!
-
AuthorPosts