Igor Verve
KPCKevin Powell - Community
•Created by Igor Verve on 11/9/2023 in #front-end
CSS Grid question - moving children to appear in 1st row
2 replies
KPCKevin Powell - Community
•Created by Igor Verve on 7/31/2023 in #front-end
:last-child and :not pseudo classes together
I have a bunch of list items inside my
<ul>
all of which have class of "level0 level-top parent". However, the last 2 list items have an additional class called "mobile-nav-only" as well as "level0 level-top parent"
I want to add some CSS to the very last <li>
with the class of "level0 level-top parent" BUT ONLY if that li does NOT have "mobile-nav-only". I believe I need to combine both :last-child and :not pseudo classes but I'm struggling to figure out the correct syntax.
Any help appreciated, thank you 🙂
P.S. I cannot change the markup or add additional CSS classes7 replies
KPCKevin Powell - Community
•Created by Igor Verve on 7/20/2023 in #front-end
Custom WordPress Favicon does not appear on all pages (Chrome)
Favicon appears on most pages, with the exception of 3. Nothing special about how those 3 pages have been setup. Identical to the ones that are currently displaying favicon properly. All works fine in FireFox but Chrome keeps showing default WP favicon on those 3 pages.
This is the code I put inside my <head> tag
<link rel="icon" href="<?php echo esc_url( get_template_directory_uri() ); ?>/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo esc_url( get_template_directory_uri() ); ?>/favicon.ico" type="image/x-icon" />
Pretty standard stuff... Any idea what could be causing this issue?
I have cleared my cache and used incognito - so I am assuming it is not down to cache.
I have also removed all my plugins - the issue remained
3 replies