Customizing Top-Bar Colours
-
Hi,
I’ve had problems changing the top-bar colours.
from :-
Dashboard -> Appearance -> Customise -> Color Settings -> Top-Bar Colors
All of the available settings work apart from “Top-Bar Link Hover Color”
After a bit of poking about I found the problem. (or at least I think I have)
In the filw wp-forge/ic/customizer.php line 4606 the code :-
=================================================================
if ( esc_attr(get_theme_mod(‘top_bar_font_hover_color’)) ) {
$output .= ” . ‘.top-bar .name a:hover,.top-bar ul li a:hover,.menu .active > a:hover{color:’.esc_attr(get_theme_mod(‘top_bar_font_hover_color’)).’;}’;
}
=================================================================if I comare that to line 4600 that customises the background colour
=================================================================if ( esc_attr(get_theme_mod(‘top_bar_hover_color’)) ) {
$output .= ” . ‘.top-bar-right .menu > li.name:hover,.top-bar .menu > li:not(.menu-text) > a:hover,.top-bar .menu > .active:hover{background-color:’.esc_attr(get_theme_mod(‘top_bar_hover_color’)).’;}’;=================================================================
The css classes are different so I changed the code at line 4606 to match the css classes at line 4600
=================================================================
if ( esc_attr(get_theme_mod(‘top_bar_font_hover_color’)) ) {
$output .= ” . ‘.top-bar-right .menu > li.name:hover, .top-bar .menu > li:not(.menu-text) > a:hover, .top-bar .menu > .active:hover{color:’.esc_attr(get_theme_mod(‘top_bar_font_hover_color’)).’;}’;=================================================================
Now the setting works. ??
It looks to me like WP-Forge is nolonger developed since there have not been any updates for several years. Obviously there is not a problem for me as long as there is not another update in the future.
Is there a way I can get this mod added to the theme?
Regards,
TomThe page I need help with: [log in to see the link]
- The topic ‘Customizing Top-Bar Colours’ is closed to new replies.