Various Nav bar Colors

Hi @quituck

I had the same question by the past and with a little search on Google :smiling_imp: i found this solution :

Have a good day :wink:

Thank you for your contribution @Jaadra

@quituck … We also have a detailed guide on hide during breakpoints feature in our knowledge base section here ( which should help you to implement different elements on different devices or screen widths.

Hope that helps.

1 Like

Problem solved. Thank you!

You are most welcome. :slight_smile:

If I wanted to change the logos per page in my nav bar what do you recommend is the best way for me to do this?

Hello @quituck,

For this kind of change, I will recommend you to upgrade to the pro version and will have access to a lot more customization for your header.

For Cornerstone, you will need to add some custom CSS on the page you need another logo. Here is a great starting point example to do that.

.x-brand {
    background: url('image.jpg') center center no-repeat;
    background-size: 100%;

I will consider upgrading at a later time.

The css worked, the only problem using the above CSS is now I have two logos images in the nav bar.

How to I hide the default logo?

Thank you!

Hi @quituck ,

Try also adding this on Cornerstone page CSS:

.x-brand img {
    opacity: 0;

If you still have issues regarding this, please share exact URL so we can check properly. Thank you.

That Worked Perfectly. Thanks!

You’re always welcome!


My next questions is how to I set up a global block for my topbar. I’m currently using the Renew stack.

In my child theme I followed this path >>> (x-child/framework/views/global/_topbar.php) to set up the global block using the following code:


// =============================================================================
// -----------------------------------------------------------------------------
// Includes topbar output.
// =============================================================================


<?php if ( x_get_option( 'x_topbar_display' ) == '1' ) : ?>

  <div class="x-topbar">
    <div class="x-topbar-inner x-container">
   		 <?php echo do_shortcode( '[cs_gb id=223]' ); ?>

<?php endif; ?>

That did not work. Do you know what I did wrong? Do I not have the topbar.php file in the right location?

Hi @quituck,

That’s from old theme, the new file path should be /x-child/framework/legacy/cranium/headers/views/global/_topbar.php. Then make sure the child theme is active.


Perfect! Thanks Again!

You’re welcome, @quituck.

My shop page using my renew stack says “false”. How can I change the title? I don’t see any options to change the woocommerce shop page title in my customize settings.

Hello @quituck,

Thanks for updating the thread. :slight_smile:

You can change the Shop page title from X > Theme Options > Renew > Shop Options > Shop Title.


Perfect Thank you.

My Next question is how do I change the nav bar links and hover color on each page?

Also, I want to change the mobile button colors on various pages as well.

What is the best way to do that?

Hello @quituck,

Thanks for updating the thread. :slight_smile:

To change the nav bar links and hover color for each page, you will have to use WordPress page id feature. Here’s a sample code.

.page-id-3252 .x-nav-wrap.desktop a span {
    color: #ddd;

.page-id-3252 .x-nav-wrap.desktop a span:hover {
    color: #731616;

You need to change the page id 3252. To find the page id, please take a look at following resource.

To change mobile button color for each page, please add following CSS under X > Theme Options > CSS:

.page-id-3252 .x-btn-navbar.collapsed {
    background-color: #000;

.page-id-3252 .x-btn-navbar.collapsed:hover {
    background-color: #ededed;

Please change page id 3252.

1- I have found the proper CSS code selector using the Chrome browser Developer Toolbar:

2- For the CSS code itself, I suggest that you get started with this tutorial:


Hi, that worked perfectly! Thanks!

My next question is how to I change the color of the line that appears below the current menu item?

I tried using the following css and had no luck.
.page-id-153 .x-navbar .desktop .x-nav > .current-menu-item > a,{
color: #0ca265;