Staff replied Templates

cache problem working with 2 templates ?

Asked by Olivier DELORON 4 years ago Last activity 4 years ago

Hi,
I created 2 different template styles in order to display differently the header in my homepage and in other pages.
The problem is when I first access the homepage and then another one, this last one is displaying wrong and I have to hardly refresh (Ctrl+F5) it to display correctly...
Can you help me to prevent that?
(You can figure it out in the caps I enclose.)


7 replies

Mehtaz Afsana Borsha Staff

Hi,

Thanks for contacting us.Use this custom CSS

.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span{
    position:relative;
    bottom:50px;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

-Regards.

Olivier DELORON Asked this

Thanks for your answer.
But actually the custom CSS code is OK. I talked you about a cache problem, likely...
When I refresh the page all is getting well.
Regards,

Mehtaz Afsana Borsha Staff

Glad to know that it is ok. You can now close this post by accepting the answer.

Olivier DELORON Asked this

Sorry but no, it is not OK... I may not have been clear.
My CSS code is OK. The problem still remains. I MUST refresh the page each time it to display correctly.

Mehtaz Afsana Borsha Staff

Then you have to clear your Joomla ans Browser cache.

Olivier DELORON Asked this

I did it, Mehtaz.
Each time the page is appealed, it displays wrong and I must handly refresh the page again it to display correctly.

Mehtaz Afsana Borsha Staff

Update your browser and check again.

Log in to reply.