Hi there. ??
I’m new to WordPress and haven’t quite wrapped my head around how to create a child/grandchild theme yet so I thought the custom CSS was an easier option for me ??
As Goran is itself a child theme of Edin, I think custom CSS is the best route to go down.
While it is possible to create grandchild themes, they are not officially supported. If you plan on making significant changes to your theme’s underlying structure (beyond CSS customisations) then the best option may be for you to create a child theme of Edin and copy over the parts of Goran that you like.
If you only wish to make some tweaks to the theme’s styling then custom CSS is perfect. ??
Based on one of the snippets above, I thought the following would also work to get the ‘active’ page link and underline to remain green, but it doesn’t. Is this even possible?
Goran targets active page items in the menu with .main-navigation .current_page_item > a and .main-navigation .current-menu-item > a in its CSS.
I was able to find the above CSS in the theme using my browser’s built-in inspector tools. If you’re interested in learning how to use your browser’s inspector tools and digging in a little more with CSS, then we have guidance and video tutorials here:
https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/
To change the colour of the active items, you can use the following:
.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
color: #77BE44;
}
As the bottom border to your menu items doesn’t display on mobile or tablet devices, we will need to use a media query to target only devices that are over 1020px:
@media screen and (min-width: 1020px) {
.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
border-bottom-color: #77BE44;
}
}
I, again, found the above media query by using my browser’s built-in inspector tools to see how the theme’s existing CSS.
Let me know if that’s clear or if you have any extra questions.