Is There A Way To Force Pages Without Menu Links To Use A Certain Default Template? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Is There A Way To Force Pages Without Menu Links To Use A Certain Default Template?

M

Mel

Template 2 years ago

Hi,

I thought that by setting a default template it would be applied to pages that have no menu links too. Currently these types of pages are opening up messy and ignoring the styling for the default template.

I do have a template set as default which styles all the other pages correctly. I am using Kelix ultimate latest version and SPPagebuilder latest version on Joomla 4.4

Kind regards

Mel

0
2 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #136025

Hi Mel,

  1. Both URLs that you shared are that same, so I don't see metioned differences.

  2. In general it's Joomla thing, how assignation works, it's from Joomla Core. We made only template, and works on that same level as Cassiopeia.

  3. For Joomla 3 there was extension "Advanced Template Manager" (RegularLabs) that allowed you to chose different template assignation associated with: selected extension view, browser, mobile view etc. Unfortunately, but there is no longer a version for Joomla 4. Also I guess you are doomed to the default Joomla properties.

  4. If I can suggest something: maybe it's better to customize colors using custom.css file, I think it offers a lot of possibilities, and is more robust.

  5. Remember that each template style (also template clone) in Template Options > Advanced tab - may have enabled Compile SCSS to CSS - that has to be ON/OFF (Save) - that may cause color problems.

0
M
Mel
Accepted Answer
2 years ago #136146

Thanks Paul,

I didn't realise that about Compile SCSS to CSS. I have now disabled it in my template and other versions.

In my case, to fix the issue, I needed to edit the component css file for OSProperty which was the frontendstyle.css (the custom.css or override.css didn't work in this isntance).

Hope that helps others.

0