Skip Navigation

[Resolved] Not possible to assign parent for layout

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 6 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#901398
Screenshot 2018-05-20 16.00.04.png
Screenshot 2018-05-20 15.53.21.png

I am trying to:

Create new layout and assign parent footer-header layout for it

Link to a page where the issue can be seen:

hidden link

I expected to see:

I click on information block befor layout name and expect to see button to assign parent layout. But instead of this I see notification that for my theme it is not possible to have hierarchy of layouts.

i don't expect this due to several facts:
- I use Astra Theme, which is support hierarchy of layout.
- I have previously created footer-header layouts and assigned to them child layouts.
- I have same structure for my other sites and it works well.

So it looks like something wrong just with newly created layouts.

Just to make it faster - I already disable all plugins except Toolset plugins, switch theme to other and back and disable different cache things. The problem still here.

Previously I use Divi Theme and the problem begin since I switche to Astra Theme.

#901555

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-05-21 at 11.13.44.png

Hi there

It is possible, though it took a little trial and error for me to be able to do it.

It didn't make any difference which theme I was using.

If you are not using a fully-integrated theme such as the Toolset Starter Theme you are not expected to use parent-child Layouts, as you can now only design the content part of the page with Layouts, and not the entire page including the header and footer. However, you can still use parent-child Layouts within just the content area, even if it is not the expected use.

You need to create a Layout to act as the parent Layout. It becomes a parent Layout when you add a Child Content cell to it.

So now you have a parent to which child Layouts can be assigned.

When I first tried it didn't seem to work, and still didn't when I tested various earlier plugin versions and different themes, all while editing the same Layout I was trying to make a child Layout.

Then I set the parent as the default parent (while editing the parent Layout, but also possible from Toolset > Settings > Layouts), and I made a new child Layout rather than edit an existing one, and then I found the settings box showing the option to set the parent (see screenshot).

Please try again with a new child Layout, you should hopefully find it works.