Developers

The Top Bar: How Users Find Your Content

The Top Bar: How Users Find Your Content

We currently offer two types of predefined Top Bar elements that you can use.


Simple

Normal

And you can actually switch between these two versions quite easily.

1. Go to the Layout & Design tool in the left-hand navigation menu.

2. Choose the Top Bar page, and then select the Navbar element.

3. Using the Properties card, you can switch between Top Bar formats with just one click.

4. Don't forget to click Save!

Creating a Custom Top Bar

If you want to get super creative with the design of your Top Bar, you can use custom HTML to design it.

In the Top Bar page of the Layout & Design tool, click the + ADD ELEMENT button in the toolbar and choose the Custom HTML element.

Now you can start coding to design the Top Bar that works best for you. Here's a quick example of a custom Top Bar with an ad tag in it:

<style> /* * Rebelbar custom CSS */.menu-global .main-menu-item a{ color:#fff; }.menu-global .main-menu-item:not(.section):hover > a, .menu-global .main-menu-item:not(.section):hover > div > a { color: #f8873b; background-color: transparent; }.rebelbar__section-links { display: none !important; }.rebelbar .logo { margin-right: 20px; }@media screen and (min-width: 768px) {.rebelbar.skin-simple .rebelbar__inner { max-width: 1100px;}.rebelbar.skin-simple .logo__image { max-width: 350px; max-height:48px;} } @media screen and (min-width: 1024px) {.menu-opened .menu-global{ display:block;}.with-fixed-header .rebelbar .logo { display: block; overflow: hidden; width: 291px;}.rebelbar__section-links { display: block !important;}.rebelbar.skin-simple .rebelbar__section-links{ padding-left:0;}.with-fixed-header .rebelbar.skin-simple .rebelbar__section-links{ padding-left:40px;}.with-floating-shares .rebelbar__section-links { display: none !important;} }@media screen and (min-width: 1050px) {.rebelbar .logo { display: none;} } /* * Topnav Custom CSS */.topnav-custom { display: none; }.topnav-custom .topnav-custom__logo { background-image: url(<img src="https://assets.rbl.ms/8384194/2000x.png" />); background-repeat: no-repeat; background-size: contain; background-position: left; overflow: hidden; width: 290px; min-height: 50px; margin: 20px 0; vertical-align: top; display: none; }.topnav-custom .topnav-custom__ad { width: 728px; height: 90px; margin: 0 auto; }@media screen and (min-width: 1024px) {.topnav-custom { display: block; height: 160px; padding: 15px 0; box-sizing: border-box; overflow: auto; max-width: 1100px; margin: 0 auto;} }@media screen and (min-width: 1050px) {.topnav-custom .topnav-custom__logo { display: inline-block;}.topnav-custom .topnav-custom__ad {float: right;} } </style>
<div class="topnav-custom"><a href="/" class="topnav-custom__logo site-logo"></a><div class="ad-placeholder ad-placeholder--top"><div class="ad-placeholder-inner"><!-- /194487792/ADTAG_ATF_Desktop --> <div id='div-gpt-ad-1479093654204-0' style='height:90px; width:728px;'> <script> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1479093654204-0'); }); </script> </div></div></div></div>

And here's how it looks on the site:

Note: Please remember to remove the default Top Bar that your site template comes with before pushing your customized code live. Otherwise, you'll end up having two different Top Bars show up on your site.

What Is RebelMouse?
Request a Proposal

Where 
Websites Are Built

The Fastest Sites in the World Run on RebelMouse

Let’s Chat

new!

RebelMouse Performance Monitoring

Real-Time Core Web Vitals

Get Started
DISCOVER MORE

Our Core Features

Our platform is a complete digital publishing toolbox that's built for modern-day content creators, and includes game-changing features such as our:

animate
Layout and Design toolLayout and Design tool on mobile
animate

Why RebelMouse?

Unprecedented Scale

RebelMouse sites reach more than 120M people a month, with an always-modern solution that combines cutting-edge technology with decades of media savvy. And due to our massive scale, 1 in 3 Americans have visited a website powered by RebelMouse.

120M+ Users
550M+ Pageviews
17+ Avg. Minutes per User
6+ Avg. Pages per User

Today's Top Websites Use RebelMouse

Thanks to the tremendous scale of our network, we are able to analyze a wealth of traffic data that informs our strategies and allows us to be a true strategic partner instead of just a vendor.

upworthyindy100Vault12No Film SchoolRawStoryResponsible StatecraftPrideRolling Stone QuebecPremierGuitarPenskeINN Educate Brand ConnectThe FulcrumGZEROOkayafricaBrit+CoPaper MagazinePowerToFlyNarcityCommonDreamsAllBusiness

What Clients Say

We’re here to help you weigh and understand every tech and strategic decision that affects your digital presence. Spend less time managing everything yourself, and more time focused on creating the quality content your users deserve.

Case Studies

A Team (and an Agency) Built Like No Other

RebelMouse employs a unique, diverse, and decentralized team that consists of 70+ digital traffic experts across more than 25 different countries. We have no central office, and we cover every time zone to ensure that we’re able to deliver amazing results and enterprise-grade support around the clock.

Our team is well-versed in all things product, content, traffic, and revenue, and we strategically deploy ourselves to help with each element across all of our clients. We thrive on solving the complex.

Let's Chat