Reputation: 2735
The logo of this page is shown out of its place in windows:
But the markup is very simple. What of this is incompatible with Windows?
Here is a Windows7 + Chrome49 test screencapture (is the same in newer Windows OS):
HTML:
<div class="site-branding hidden-xs">
<div class="s s-weblog"></div>
<a class="site-title" href="<?= esc_url(home_url('/')); ?>"><?php bloginfo('name'); ?></a>
<p class="site-description">
<?php bloginfo('description'); ?>
</p>
</div>
SCSS:
.site-branding {
text-align: center;
.s-weblog {
font-size: 128px;
height: 135px;
}
.site-title {
font-size: 28px;
padding: 0;
}
.site-description {
margin-bottom: 30px;
font-style: italic;
}
}
Thak you in advance!
Upvotes: 0
Views: 79
Reputation: 1185
Please try this:
.s:before {
display: inline-block;
font-family: contraindi;
font-style: normal;
font-weight: 400;
line-height: 1;
position: absolute;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
top: -134px;
left: 71px;
}
Upvotes: 0
Reputation: 1233
I think this is something with
font-family:contraindi;I tried to change
content:"some text"
and remove font-family
and I've got something like this
Upvotes: 1
Reputation: 202
the issue seems to be with the font itself. have a read here Fix custom font line-height with CSS
a simple fix would be to use relative/absolute positioning
Upvotes: 2