uriy84
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Serene] Serene – page numbersHi. Please, install and activate WP-PageNavi plugin: https://wordpress.org/plugins/wp-pagenavi/
Forum: Themes and Templates
In reply to: [Serene] Icons not loadingGreat! Glad you worked it out.
Forum: Themes and Templates
In reply to: [Serene] Icons not loadingHi. Looks like www URLs redirect to non-www. So when your browser tries to load fonts, it loads them using http://www.davegarcia.net/ domain, instead of http://davegarcia.net/, that’s why it doesn’t work ( some browsers don’t allow it ). You can hardcode the font URLs in css/elegant-font.css file, try replacing:
@font-face { font-family: 'ElegantIcons'; src:url('../fonts/ElegantIcons.eot'); src:url('../fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'), url('../fonts/ElegantIcons.woff') format('woff'), url('../fonts/ElegantIcons.ttf') format('truetype'), url('../fonts/ElegantIcons.svg#ElegantIcons') format('svg'); font-weight: normal; font-style: normal; }with:
@font-face { font-family: 'ElegantIcons'; src:url('http://davegarcia.net/wp-content/themes/serene/fonts/ElegantIcons.eot'); src:url('http://davegarcia.net/wp-content/themes/serene/fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'), url('http://davegarcia.net/wp-content/themes/serene/fonts/ElegantIcons.woff') format('woff'), url('http://davegarcia.net/wp-content/themes/serene/fonts/ElegantIcons.ttf') format('truetype'), url('http://davegarcia.net/wp-content/themes/serene/fonts/ElegantIcons.svg#ElegantIcons') format('svg'); font-weight: normal; font-style: normal; }Ok, great.
It looks like a caching/minification error: http://prntscr.com/6od1rd
As you can see the font is imported twice, though there should be only one import declaration in the child theme style.css file.
Glad it worked.
Try renaming it to Serene ( with an uppercase S )
Looks like it can’t find the Serene theme folder. Please, make sure that it is in the same folder you installed the child theme into, and it’s called Serene.
Ok. You can also upload the child theme folder to wp-content/themes via FTP.
Do you know why the mobile theme has such a large blank space at the top? It makes sense on the desktop theme but on mobile it just looks like a mistake…
It is by design. You can use the following css code to make it smaller on mobile devices:
@media only screen and ( max-width: 479px ) { #main-header { margin-top: 30px; } }Social links can also be visible, this will require some css customizations. More links can be added in header.php, look for ul#et-social-icons element.
@import method is considered a bad practice ( http://www.giftofspeed.com/optimize-css-delivery/ ), we’ll see what we can do though. You can use a child theme, then you’ll be able to update the parent theme ( Serene ) at any time, all customizations will be stored in the child theme.
I’ve created a child theme for you. You can download it here: http://www.filedropper.com/serenechild
It can be installed and activated via Dashboard / Appearance / Themes / Add New / Upload Theme.
You can try using @import, but that might increase your site load time. Here’s what you can do:
– Open style.css and add this before the “Basic Styles” block:
@import url(http://fonts.googleapis.com/css?family=Raleway:400,200,100,500,700,800,900&subset=latin,latin-ext);Note: you would also need to delete the line of code I suggested above.
Ok. I think that’s something that should be fixed using plugins. Did you try using a cache plugin? I’d suggest checking “W3 Total Cache” plugin out: https://wordpress.org/plugins/w3-total-cache/
There is some info on the plugin setup here:
https://wordpress.org/support/topic/eliminate-external-render-blocking-javascript-and-css-in-above-the-fold-content?replies=23#post-4671928Forum: Themes and Templates
In reply to: [Serene] After Theme Update, Menu's no longer line up.Ok, glad we worked it out.
Hi. There seems to be no issues with the demo site: https://www.google.com/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Felegantthemes.com%2Fpreview%2FSerene%2F
Serene doesn’t use font-awesome css file, it might come from one of the plugins you’re using on your site. Loading Google Raleway font shoulnd’t be a problem, lots of themes use the same method.
You can disable the Raleway font though in functions.php. Delete the following code:
add_action( 'wp_enqueue_scripts', 'et_serene_load_fonts' );Forum: Themes and Templates
In reply to: [Serene] After Theme Update, Menu's no longer line up.Great. What was the problem?