Hi
I need to move my template logo in the center of the page. What is the right code that I have to use for the override.css file? Can you help me?
Tks
P.s. sorry, no FTP or siteURL becouse the site is not online
teitbite wrote:Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
#gkLogo {
display: block;
margin: 0 auto;
opacity: 1;
padding: 0;
position: absolute;
text-indent: -9999px;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
width: 100%;
}
#gkLogo img {
display: block;
height: auto;
margin: 0 auto;
max-width: 450px;
}
@media only screen and (max-width:1024px) {
#gkLogo img {
width: 250px;
}
}
@media only screen and (max-width:830px) {
#gkLogo img {
width: 135px;
}
}
@media only screen and (max-width:650px) {
#gkLogo img {
width: 90px;
}
}
Miri73no wrote:teitbite wrote:Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
Hi, sorry for my late reply.
this is the solution that I've found waiting your answer.
The code on my override.css is the fallowing:
- Code: Select all
#gkLogo {
display: block;
margin: 0 auto;
opacity: 1;
padding: 0;
position: absolute;
text-indent: -9999px;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
width: 100%;
}
#gkLogo img {
display: block;
height: auto;
margin: 0 auto;
max-width: 450px;
}
@media only screen and (max-width:1024px) {
#gkLogo img {
width: 250px;
}
}
@media only screen and (max-width:830px) {
#gkLogo img {
width: 135px;
}
}
@media only screen and (max-width:650px) {
#gkLogo img {
width: 90px;
}
}
... seems to work.
@media only screen and (max-width:1300px) {
.gk-parallax-overlay h2 {
line-height: 38px;
}
}
@media only screen and (max-width:800px) {
.gk-parallax-overlay p {
padding: 60px 140px;
}
}
@media only screen and (max-width:600px) {
.gk-parallax-overlay p {
padding: 20px;
}
.box.video-bg .gk-border-box {
padding: 20px;
width: 100%;
}
}