- This topic has 41 replies, 4 voices, and was last updated 3 years, 3 months ago by
Gerik.
-
AuthorPosts
-
October 11, 2021 at 10:02 am #1960163
Gerik
Also, I saw another forum where you used a similar code for the header.
There was one difference. (I’m not a coder)
Line Three.
return true;
or
$display = true;I tried both doesn’t still work but which one is correct or they are the same?
October 12, 2021 at 3:13 am #1960778David
StaffCustomer SupportHi there.
can you provide a temporary Admin login for the site so we can take a closer look ?
October 12, 2021 at 1:38 pm #1961454Gerik
done
October 12, 2021 at 3:59 pm #1961525David
StaffCustomer SupportCan you set the Profile to Administrator ? As i can’t access the full admin dashboard.
October 13, 2021 at 9:03 am #1962411Gerik
Sorry, fixed.
October 13, 2021 at 10:06 am #1962461David
StaffCustomer SupportThe setting on where the template is applied to the IDX page.
Where is this setting ?
October 13, 2021 at 3:51 pm #1962708Gerik
Left Menu
Optima Express > IDX Pages
On IDX Pages, Scroll down to Search. From there you can pick the theme template file.On there you can see the permalink.
October 14, 2021 at 3:09 am #1963038David
StaffCustomer SupportI had a look at the backend.
The bottom line is when you set the full width template in the IDX Pages > Search. That template is not being used by the plugin. I checked the plugins documentation and i could not see any specific requirements. Could you check with the Plugin developer as to why this may be ?October 14, 2021 at 12:37 pm #1963680Gerik
Yes I tried to reach out to them.
They didn’t understand why I’m doing what I’m doing.
I’m assuming it’s old code that requires you to create a theme file that is hard coded.
What website you recommend to hire a developer to look at their code.
October 15, 2021 at 1:46 am #1964069David
StaffCustomer SupportWe could try creating a Custom header.php specifically for your full width template.
You would make a copy of the GP Header – found here – note the line i have linked to:1. Rename your header.php to header-fullwidth.php
2. On the line commented – change it to:<body <?php body_class( 'full-width-content' ); ?> <?php generate_do_microdata( 'body' ); ?>>3. Then in your fullwidth.php this line:
get_header(); ?>we change to call our fullwidth header like so:
get_header( 'fullwidth' ); ?>Now this should add the
full-width-contentclass to that page template. And you won’t require the Layout Element.December 6, 2022 at 1:53 pm #2452078Zach
@gerik any luck getting this to work? I’m running into the same issue.
December 6, 2022 at 6:47 pm #2452285Gerik
Hey Zach,
No. What I wanted was the search to be full width and the individual listings 1100 px.
This is what I had to do.
Make the whole site the width of what I want the single listing to look like (1100px). Then for the search page, I had to create a blank page with the search shortcode (not using their default search). I made the newly created search page, full width. I make a redirect if anyone lands on the default search url to redirect to the one I created.
Let me know if that made sense. Just to let you know, I got frustrated with their support and went with another provider.
-
AuthorPosts
- You must be logged in to reply to this topic.