InMotion Hosting Support Center

As we continue to learn about the Joomla 3.0 banners component, our next topic of discussion is rotating banners.

all-banners-showingWhen you create a banner module, you can specify how many banners you would like to show. Let's say you have 3 banners and you want all to show, your banners will appear vertically, as in the screenshot to the right.

If you have 3 banners though and would only like 1 to show, you would assume that they would rotate, correct? You can have your banners rotate, but this is not the default setting.


How to setup rotating banners

In order to have your banners rotate, you must set the banner module's Randomise setting to Stick, Randomise. The following steps will show you how to do this.

  1. Log into your Joomla 3.0 admin dashboard
  2. In the top menu, click Extensions and then click Module Manager
  3. In the list of modules on the page, click on your banner module
  4. Click the Basic Options tab towards the top of the page
  5. Find the Randomise setting on the page, set it to Sticky, Randomise, and then click the Save button in the top left of the page.

    red-banner-showingIn our testing we have 3 banners: a red one, a green one, and a blue banner. After we've enabled rotating banners and test, the banners are randomized and show in the following order:

    * red
    * blue
    * blue
    * blue
    * red
    * blue
    * green
    * red
    * green
    * red

    After refreshing the page 10 times, the red banner showed 4 times, the blue banner showed 4 times, and the green banner was shown twice. It doesn't appear there is any rhyme or reason to how the banners are chosen, they are simply chosen by Joomla at random.

Why are my Joomla banners not rotating?

If your Joomla banners don't rotate, you may want to run through the following checklist:

  1. Ensure you have set the Randomise setting to Sticky, Randomise (following the directions above)
  2. Check your Sticky Settings

    set-a-banner-to-be-stickyDo you have any banners that are set to sticky? In our testing, we set the red banner to be sticky, while the other two were not. Because sticky banners take priority, they will always be chosen first over banners that are not sticky. You can either set all banners you want to be shown sticky, or you can set them all not to be sticky.

    Banners can be set to sticky by going to Components » Banners » Click your banner » Set Sticky to Yes / No in the settings to the right of the page.
  3. Check banner caching

    disable-banner-cachingIf you have Joomla caching enabled, your banner module may be cached, thus preventing new banners from showing (until your cache clears). You can have Joomla setup to cache but disable caching for your banner module.

    To disable caching on your banner module, go to: Extensions » Module Manager » Click your banner module » Click the Advanced Options tab » Set the Caching setting to No caching
  4. Ensure your banner count is not too high

    change-number-of-bannersIf you have 3 banners and you set your banner module to show 3 banners, then all banners will show on top of each other. In order for the banners to rotate, your banner module needs to be set to show fewer banners then you have. If the banner module is set to show only 1 banner but you have 3, then it must randomly pick one of them - this randomness causes the banners to rotate.

    To check the number of banners your module is set to show, go to: Extensions » Module Manager » Click your banner module » Click the Basic Options tab » Find and adjust the Countsetting as needed
  5. Check Impression limits

    You can configure certain banners to only show X number of times, and this is referred to as Max. Impressions.

    max-impressions-hitIf a certain banner is not showing, check to see if it has reached its max impressions. To do this, go to Components » Banners. Find your banner in the list, and check the value under Impressions. As you can see, we have one banner that has been shown 27 of 27 times, and it will not be shown any longer.

    change-max-impressionsIf you need to adjust the impression limits for a banner, you can go to Components » Banners » Click the banner in question » Click the Banner Details tab » Find and adjust the Max. Impressions setting

Continued Education in Course 209: Working with Banners in Joomla 3
You are viewing Section 9: Rotating Banners in Joomla 3.1
Section 8: Controlling which windows banners open into in Joomla 3.1
Section 10: How to show Joomla 3.1 banners side by side

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2017-01-23 9:23 pm

Thanks, I had missed the randomise option in the module and your instructions helped!

n/a Points
2016-01-13 3:37 am

if i want to all menues in one line how can i do....?

40,371 Points
2016-01-13 12:57 pm
Hello Unmesh,

If you want all your menus on one line, you will need to make changes to the CSS in order to make them fit. You may also have to shorten your menu titles. Check out this Joomla support forum post where the issue is discussed.

If you have any further questions or comments, please let us know.

Arnel C.
n/a Points
2015-07-17 5:51 am

Wow! Fantastic job with the whole Joomla 3 Channel. Explanations and easy to follow examples made the whole banner setup easy to do.

Very well done.


n/a Points
2015-05-05 5:49 pm

I don't have a "Sticky" option in my banner settings. I have a "Pinned". Do you have suggestions on what needs to be done to get the banners to rotate with Joomla 3.4?

40,371 Points
2015-05-06 6:35 am
Hello Becky,

Thanks for the question about the banners. If you are unable to get the banners to rotate, then you may need to add an extension for your Joomla installation. Check out Joomla Extensions for some examples of extensions that will help provide this function.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.
n/a Points
2014-05-26 3:51 am

This was super helpfull!! Thank you so much

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

7 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!