- This topic has 7 replies, 4 voices, and was last updated 4 years, 3 months ago by David.
November 14, 2018 at 6:53 am #727181Simon
Elementor has now the possibility to use custom fields in their templates, but if I create a custom post type and define a template to it, it shows the custom post part in full width, despite the setting beeing set to “boxed”.
Elementor support told me, it’s a theme bug and made the following video to show the error in css.
Can you look at it and tell me if that’s so – and if you are goint to fix this – or if it’s something I have to fix.November 14, 2018 at 7:35 am #727232TomLead DeveloperLead Developer
I’m actually pretty sure that Elementor adds our
full-width-contentclass to the body element under certain conditions.
I see Elementor is set to its full width template – what happens if you set it to its regular template?November 19, 2018 at 8:01 am #731119Simon
in the theme customizer settings I have set the layout to be boxed – and it works on all regular pages.
In the template-settings of elementor I have the options of standard, full-width and elementor canvas.
It’s set to “standard”, but has the same effect as “full width”.
Shouldn’t standard be the boxed design here.
If not – any idea where I can change the settings for “standard”?
SimonNovember 19, 2018 at 2:02 pm #731387TomLead DeveloperLead Developer
Strange, the body class of your page is saying the template is set to full width: http://prntscr.com/lkfla8
Can you double check? If you’re sure it’s not set to full width, it may be worth asking Elementor support why this class is showing up.
I’m 99% sure that Elementor Pro adds the GP class
<body>element when their full width template is set.February 17, 2019 at 11:59 pm #813252Antar
I can confirm this problem still exists. Elementor is injecting
full-width-contentinto the body tag regardless of whether the template is set to full width or not.
How can we tackle this?
AntarFebruary 18, 2019 at 5:02 am #813419DavidStaffCustomer SupportFebruary 18, 2019 at 5:05 am #813421Antar
Hi, David –
Thanks for this. The code works perfectly. As Elementor is such a popular page builder, surely we need a more permanent fix? If not that then this code needs to be made part of the knowledge base. I can’t be the only person to have encountered this issue.
AntarFebruary 18, 2019 at 5:13 am #813427DavidStaffCustomer Support
Oddly enough aside of today the last issues reported were with Element last year and I can’t recall this recently.
It is something i feel we need to talk to Elementor about. The way Elementor went about fixing the original full width issue is what is causing this problem. Better that we get them to fix at source if possible as opposed to retro fixing one of their fixes.
- You must be logged in to reply to this topic.