Aoutlaw
Forum Replies Created
-
Thank you! I was looking on the plugin side but should have been checking my own API key. Appreciate the tip!
Forum: Fixing WordPress
In reply to: New css selectors in child theme not workingGah! Thank you for finding that missing bracket. You know I’ve stared at that for probably an hour. Sometimes you just need an objective viewer.
Now it’s working. Thanks for the help.
Forum: Fixing WordPress
In reply to: New css selectors in child theme not workingThanks for getting back to me. I did check that the class is in the HTML and that the CSS is free from errors. I also tested out adding some media queries but that doesn’t change anything. The class shows up in the HTML when you inspect the DOM, but the matching CSS isn’t being applied by styles.css in the child theme.
CSS
.hflocation { background: purple; }HTML
<div class="hflocation"> <h3>Test Heading</h3> <p>Test paragraph</p> </div>You can see the result at http://www.homefedcorporation.com/wordpress.
It’s weird because I have made edits to styles already defined by the parent theme and the child theme styles are successfully overwriting the parent theme’s, but trying to add a new style unique to the child them isn’t working.
Hi Tyler,
Thanks for getting back to me and sorry for not being more clear. Sometimes the hardest part of reporting a problem is articulating it. I’m trying to track down exactly what triggers the CSS to drop from a page.
It happens often when different users view/edit a page but I haven’t been able to nail down the trigger yet. I don’t think it’s necessarily the fact that two users are editing a page at different times but something that’s going on at that time must trigger it. It doesn’t seem to be related to publishing either. One user could simply view the page and when the next user logs in the CSS has dropped. So weird!
I’m sorry I can’t be more specific yet. I’m running some tests toggling between users and publishing/restoring different ways to try and find a pattern and will update here when I find it.
Aha! Thanks, I will see about removing that from the child theme and give it another try.
Thanks for the reply!
I checked and I had it as ‘150’ without any px added to it except for what the plugin adds automatically off to the right.