Styling links in sidebar menu on blog page and more

Hi,

  1. I am trying to style the blog/news page to look like the rest of my site. I have managed to get the menu in the sidebar looking almost correct, but I still need the current page (current menu item) to be a different colour. I also want to get rid of the < indicator (or rather, I want to show the current page with a different colour rather than the indicator.

  2. How can I add a heading - News and style it?

  3. How can I add a header image? Basically, I want the blog page: https://assemblymarketing.co.uk/wordpress_CE/virtual-office/news/

to look like a standard page: https://assemblymarketing.co.uk/wordpress_CE/virtual-office/

Thanks!

Sara

Hi Sara,

  1. To achieve that, you can add this in Theme Optios > CSS
.widget_nav_menu .current-menu-item>a:after {
   display:none;
}

.widget_nav_menu .current-menu-item>a {
    color: #2fa6a4;
}

2&3) Create your blgo header in Global block then add the code below in your child theme’s functions.php file

add_action( 'x_before_view_global__slider-below', 'add_my_blog_title', 10 );
function add_my_blog_title() {
    if(is_home()) {
        echo do_shortcode('[cs_gb id=51]');
    }    
}

Change [cs_gb id=51] with global block shortcode

Hope that hepls

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.