How to avoid Cassiopiea header on pages created in SP Page Builder? Topic is solved

This forum is for general questions about extensions for Joomla! 4.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
theachiever
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 16, 2013 1:46 pm

How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by theachiever » Sat Jun 03, 2023 7:47 pm

Dear Friends,

I have created some pages (using SP Page Builder)...

But Cassiopiea Header is appearing on all pages of website.
cats-2.jpg
I don't want this header to appear on most pages created with SP page builder.

How can I avoid this header and the white gap below it to appear on a few selected webpages?

Your guidance is highly appreciated...

With thanks,

RK
You do not have the required permissions to view the files attached to this post.
Last edited by toivo on Sat Jun 03, 2023 9:30 pm, edited 1 time in total.
Reason: mod note: moved from 4.x Templates, retitled

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30879
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by Per Yngve Berg » Sat Jun 03, 2023 10:18 pm

Add tpl=component to URL That will load the component.php layout without anything outside the component area.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1611
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by Pavel-ww » Sun Jun 04, 2023 7:49 am

theachiever wrote:
Sat Jun 03, 2023 7:47 pm

I don't want this header to appear on most pages created with SP page builder.

How can I avoid this header and the white gap below it to appear on a few selected webpages?
Hi. For selective hiding on the desired pages: add class to the page in menu item settings
1.jpg
--
and use CSS

Code: Select all

.header-hide header {
	display: none;
}
--
For all pages created via SPPB: CSS only, without adding class to the page.

Code: Select all

.com_sppagebuilder header {
	display: none;
}
Not sure about "white gap". It looks like this is a local problem. If this does not disappear, provide a link to the site.
You do not have the required permissions to view the files attached to this post.

theachiever
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 16, 2013 1:46 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by theachiever » Sun Jun 18, 2023 9:59 am

Per Yngve Berg wrote:
Sat Jun 03, 2023 10:18 pm
Add tpl=component to URL That will load the component.php layout without anything outside the component area.
I don't know how to do this...

I tried to add this tpl=sppagebuilderpro, but it is turncated.

With thanks,

RK

theachiever
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 16, 2013 1:46 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by theachiever » Sun Jun 18, 2023 10:01 am

Pavel-ww wrote:
Sun Jun 04, 2023 7:49 am
theachiever wrote:
Sat Jun 03, 2023 7:47 pm

I don't want this header to appear on most pages created with SP page builder.

How can I avoid this header and the white gap below it to appear on a few selected webpages?
Hi. For selective hiding on the desired pages: add class to the page in menu item settings
1.jpg
--
and use CSS

Code: Select all

.header-hide header {
	display: none;
}
--
For all pages created via SPPB: CSS only, without adding class to the page.

Code: Select all

.com_sppagebuilder header {
	display: none;
}
Not sure about "white gap". It looks like this is a local problem. If this does not disappear, provide a link to the site.


Your solution worked perfectly, I chose to use .header-hide header code. Similar code worked to remove the footer also.

Thank you very much!

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1611
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by Pavel-ww » Mon Jun 19, 2023 7:23 am

Hi. You are welcome

theachiever
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 16, 2013 1:46 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by theachiever » Wed Jun 28, 2023 6:55 pm

Pavel-ww wrote:
Mon Jun 19, 2023 7:23 am
Not sure about "white gap". It looks like this is a local problem. If this does not disappear, provide a link to the site.
The white gap is still there on most pages.

For example, https://luminisindia.com/networking-free

On the very top of webpage, this white gap is visible...

Kindly suggest what to do.

With thanks,

RK

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1611
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by Pavel-ww » Thu Jun 29, 2023 6:51 am

theachiever wrote:
Wed Jun 28, 2023 6:55 pm
The white gap is still there on most pages.

For example, https://luminisindia.com/networking-free

On the very top of webpage, this white gap is visible...
Hi. The solution only for pages made in SPPB.

Code: Select all

.com_sppagebuilder main {
	margin-top: 0;
}
Just in case, this is the solution for all types of pages, but I do not think that it should be applied.

Code: Select all

.container-component > * + *, .container-component > :first-child, .container-sidebar-left > * + *, .container-sidebar-left > :first-child, .container-sidebar-right > * + *, .container-sidebar-right > :first-child {
	margin-top: 0;
}

theachiever
Joomla! Intern
Joomla! Intern
Posts: 64
Joined: Mon Sep 16, 2013 1:46 pm

Re: How to avoid Cassiopiea header on pages created in SP Page Builder?

Post by theachiever » Thu Jun 29, 2023 5:16 pm

Pavel-ww wrote:
Thu Jun 29, 2023 6:51 am

Hi. The solution only for pages made in SPPB.

Code: Select all

.com_sppagebuilder main {
	margin-top: 0;
}
Thanks Pavel.

The above code worked this time also.

Can you point me to one more problem that is emerging from the cocktail of Joomla 4, SP Pagebuilder and Breezing Forms?

If you see the same page https://luminisindia.com/cpt-isclosed, you can observe that around the form section there is a solid color (very much similar to the picture in the background)...
cats-2.jpg
A few months ago I was using some template in Joomla 3.11 perhaps, then I was using this form (iframe) with transparent background... It was transparent and I had no issue...

But since migrating to Joomla 4 with Cassiopiea, the transparent background is resulting in solid white...

I raised an issue on Joomla forums but there is still no help... There was no response on Breezing Forms forums either.

Kindly have a look at viewtopic.php?f=811&t=1002305

Soliciting guidance one more time from you,

With thanks,

RK
You do not have the required permissions to view the files attached to this post.


Post Reply

Return to “Extensions for Joomla! 4.x”