Making topbar linkback to home page

Hi: How do I make the topbar link back to home page?

I have used the code in the css to set the background image of the topbar. Thanks.

Hello Ravi,

Thanks for writing in!

I can see that you are using custom css to add a background image in your topbar. You have this:

.single .x-topbar, .blog .x-topbar {
    background: url(https://happysoulhungrymind.com/HWP/wp-content/uploads/2019/11/HappySoulHungryMind_InsidePageBanner_1800px_Book_Ravi_3.jpg) no-repeat;
    background-position: center center;
    background-color: rgb(245,112,25);
    border-bottom: 0;
    border-left: 0;
    background-size: 100%;
}

You cannot use custom css to add a link. If you are going to add a link, please go to X > Theme Options > Header > Miscellaneous and enable the Topbar. You are going to add an html link back to your homepage as a topbar content like this:

Go back to the <a href="https://example.com">homepage</a>

To learn more about HTML links, please check this out:

We would love to know if this has worked for you. Thank you.

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