[NEWBIE] Custom CSS works only in Safari for Mac…
-
I’m sure there is a perfectly simple reason and solution to this. But i’m new to WordPress and I’ve never experienced something like this before. And I’m really wasting time here.
I just download and set up WordPress and bought a theme 2 days ago.
#1 One when I enter css styling into the themes custom css, it only work in Safari for Mac. I’m using Firefox and the Firefox web inspector.
#2 I tried to set up @font-face.
I uploaded the files into themes font folder /wp-content/themes/foundry/style/fonts/.And then added this code.
@font-face {
font-family: ‘SuisseIntl-Book-WebXL’;
src: url(‘/fonts/SuisseIntl-Book-WebXL.eot’); /* IE9 Compat Modes */
src: url(‘/fonts/SuisseIntl-Book-WebXL.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘/fonts/SuisseIntl-Book-WebXL.woff’) format(‘woff’), /* Pretty Modern Browsers */
url(‘/fonts/SuisseIntl-Book-WebXL.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘/fonts/SuisseIntl-Book-WebXL.svg#SuisseIntl-Book-WebXL’) format(‘svg’); /* Legacy iOS */
}/*CSS selectors*/
body {
font-family: ‘SuisseIntl-Book-WebXL’, sans-serif;
font-size: 14px;
color: #000;
}h1, h2, h3, h4, h5, h6, p, ul, ol, pre, table, blockquote, input, button, select, textarea {
font-family: ‘SuisseIntl-Book-WebXL’, sans-serif;
color: #000;
}.menu {
width: 100%;
height: 55px;
font-family: ‘SuisseIntl-Book-WebXL’, sans-serif;
color: #000;
}But it doesn’t work. It worked last night, but only in Safari. I then tried re-uploading the font files and pasted the code in again. Now it doesn’t even show in Safari.
What am I doing wrong. Is it my css styling that isn’t correct? I can’t really get on with designing the site and adding content before this issue is resolved.
link: cubo.c-s-j.dk
Thanks
- The topic ‘[NEWBIE] Custom CSS works only in Safari for Mac…’ is closed to new replies.