Logo centering and responsive behavior
-
Hi Ben,
I absolutely love your theme, what a real beauty! :0)
As a total newbie I found a couple CSS tricks on this forum which I applied for instant allowing the logo’s natural dimensions and keeping removing the opacity bit.Now I have a question, how can I with below lines of code center the logo image or even apply different logo filenames for different device platforms (ie. big logo on desktops, small logo on smartphones, medium logo on tablets)?
I would already be happy with only the centering of the logo on that page. 🙂 I tried a couple CSS tutorials with the display, margin-left and rights tags but it won’t work, I must be doing something wrong.
Thanks in advance Ben for your help!! :0)
Mike
My current sample code:
.site-title {
opacity: 1;
}
.site-title img {
max-width: 945px;
max-height: 472px;
}
@media all and (min-width: 800px){.site-title img {
max-width: 945;
max-height: 472px;
}
}
The topic ‘Logo centering and responsive behavior’ is closed to new replies.
