- This topic is empty.
April 3, 2015 at 5:07 pm #199715
my site: staging.librovn.com
this is the media queries I put in the child theme style.css: codepen
the media queries works fine on my localhost, but it doesn’t work on the live site.
here is the screenshot for localhost site: https://www.flickr.com/photos/[email protected]/17023339782/
here is the screenshot for staging site:
Any help please.April 3, 2015 at 6:47 pm #199719
Thanks for answer,
Actually you can find the CSS style in the /responsive-mobile-child/style.css.
When you open it, you can see near the top, below the meta info, something like:
/* Reponsive */
CSS Media Queries on codepen…
I also make the screenshot public, please take a look. ThanksApril 3, 2015 at 8:40 pm #199721
I delete the cache, reload the site, but the media queries still doesn’t apply.
I’m using FirefoxDeveloperEdition as my browser, I also try to open the staging site in Firefox and Chrome, but it’s still the same.
Could it be another problem?
screenshot of the caching: https://www.flickr.com/photos/[email protected]/17026242285/April 4, 2015 at 5:31 pm #199754
You’re right, there’s “trailingslashit” before “get_template_directory_uri()”. I remove it and the media queries work.
Thanks a lot, Senff.
Further question: I’m wonder why “trailingslashit” is used in function.php. Is it there to update the child theme to the new version of the parent theme?April 4, 2015 at 9:13 pm #199757
I’m sorry you have a problem with your site, but it’s better if you create a new topic. That’s way you will have more chance to get help.
CheersApril 5, 2015 at 6:30 am #199762tuileihaiParticipant
Sorry, I am new and I have made a mistake of posting my question here. Again, sorry.April 5, 2015 at 7:24 am #199766
Please look at the screenshot below, you will see “trailingslashit”, the extra before get_template_directory_uri()
So each time the parent theme get updated, I get the new features but also don’t lose the changes I made in the child theme. Is that correct?
- The forum ‘CSS’ is closed to new topics and replies.