Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 04h 47m 29s
Claim 50% off
Solved Templates

I can not any custom code to the template style, help please

Asked by Alejandro 2 years ago Last activity 2 years ago

Hello,
I installed Podcasta template with all the examples that template comes.
I wanted to add this code:
@media(max-width:992px) {
.logo-image-phone {
height: 70px !important;
}
}
The purpose is to make the mobile logo bigger in the "custom" code section of the template, however this code is not working , it gives me this error related to some " addStyleDeclaration()

I trully don't know what could it be, because I am following the FAQ od the HELIX ultimate template here, and my code is correct. When i see the original files of the .rar or .zip template , and also in my hosting. I don't find a custom.css file, it looks doesn't come with it.
So , i will apreciatte your help to know what's going on.

Thanks

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

I'm glad to hear that.

Please mark topic as solved.

3 more replies

Paul Frankowski Senior Staff
2 years ago · edited

Hi,

Hard to say, your code looks quite OK. For sure I would add space between @media and "(" or you can copy that.

@media screen and (max-width:992px) { 
.logo-image-phone { height: 70px !important; } 
} 

If somehow still that same error message, please CREATE a new custom.css file in template /css/ folder and then copy that CSS code !

info_2413_2024.jpg

Path in my template:
/templates/shaper_helixultimate/css/custom.css

Alejandro Asked this

Thank you for you answer , however this template only comes this option for Logo   normal but not for Logo responsive,  that's why I am trying to solve the issue with custom.custom.css

Alejandro Asked this

The name of the template is: Podcasta

Paul Frankowski Senior Staff

In that case you path and new file should be:

templates\podcasta\css\custom.css

is all clear now? remember custom.css not custom.custom.css

Alejandro Asked this

Thank very much, I could solve it =)

Log in to reply.