Jump to content

How to adapt theme for different browsers?


Recommended Posts

I have a theme that i purchased and everything works fine in Chrome and Safari but i have few issues in Firefox and Opera. What's the best way to adapt it for those 2 browsers without breaking it for others?

 

This is how top horizontal mega menu looks in chrome/safari

post-72405-0-60792900-1390023974_thumb.jpg

 

and this is in Firefox/Opera

post-72405-0-84641900-1390023982_thumb.jpg

 

This is footer social links in Chrome/Safari

post-72405-0-07015900-1390023988_thumb.jpg

 

and this is in Firefox/Opera

post-72405-0-88296200-1390023992_thumb.jpg

 

also my logo is much bigger in Firefox than Chrome, i've tried changing size but to make it look fine in Firefox i have to make it tiny in Chrome.

I already emailed to dev of that theme but i doubt they will reply on weekend. My store is already live so if someone can give me an advice on how to fix it that would be great.

Edited by SeVi (see edit history)
Link to comment
Share on other sites

Here is code. Firefox for some reason doesn't recognize "background: url". It displays the link but not an icon

.footer-social {
    overflow: hidden;
    float: right;
    text-align: left;
}
.footer-social li {
    float: left;
    width: 33px;
    height: 33px;
    margin: 0 4px;
    padding: 0;
    -webkit-transition: 0.5s; -moz-transition: 0.5s; transition: 0.5s;
}
.footer-social .facebook {
    background: url(../../img/icon-f.png) 50% 50% no-repeat ;
}
.footer-social .twitter {
    background: url(../../img/icon-t.png) 50% 50% no-repeat;
}
.footer-social .pinit {
    background: url(../../img/icon-p.png) 50% 50% no-repeat;
}
.footer-social .email {
    background: url(../../img/icon-e.png) 50% 50% no-repeat;
}
.footer-social .gplus {
    background: url(../../img/icon-g.png) 50% 50% no-repeat;
}
.footer-social li:hover {
    -moz-opacity:.8; -webkit-opacity:.8; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";/*IE8*/ opacity:.8;
}
.footer-social a {
    float: left;
    width: 33px;
    height: 33px;
    text-indent: -9999px;
}

Edited by SeVi (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...