Center Predefined Header In Fixter - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Center Predefined Header In Fixter

B

beaugast

Template 4 years ago

Trying to center the predefined header in Fixter. I need the entire row to be centered.

First red circle is the current behavior. Any suggestions? I've tried a bunch of CSS that I found in the forum and none worked.

Basically I need the whole predefined header centered.

0
5 Answers
B
beaugast
Accepted Answer
4 years ago #9652

I found help in the Facebook Group. For helpful reference here is what I did:

Made a copy of one of the headers as "header3" in the .../template/headers folder.

Changed the following lines in header.php for the header3 folder I created:

Line 25: $output .= '<div class="d-flex w-100 align-items-center justify-content-center">';
Line 52: $output .= '<div class="d-flex justify-inline-blocks">';

You MUST also remove "ml-auto" from line 52's div class for anything to work.

0
B
beaugast
Accepted Answer
4 years ago #9651

.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #9661

Hello beaugast

Sorry! Your solution is not feasible. Because whenever you will update the template the header.php file will be reverted back to default. The solution could be turning off the pre-defined header and use your own header. Or you can use Custom CSS for the job.

Best regards

0
B
beaugast
Accepted Answer
4 years ago #9684

Hi Ofi,

Are you saying that if I build a custom header ( a third one) by copying the header code into a new directory that it will be overwritten by a template update?

I followed the directions on your "FAQ & How To Do" page that told me how to do this. They say "Can I build/change predefined Header. Yes, with Helix Ultimate update 1.0.2 - we moved predefined headers to the template folder: templates\shaper_helixultimate\headers. This folder by default contains two styles (1 and 2). You can analyze the file (header.php) code and build your own header layout. The image file (thumb.jpg) is only needed to visualize the appearance. We strongly suggest creating a new "style3" which won't be overridden by template update."

Is this information in the FAQ incorrect?

Thank you.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #10385

Yes, if you change in the header.php code, then it will be overridden in the template update. The documenation is correct. It suggests to create a custom header style and name it style 3. Just do not mess up with pre-defined styles. One more thing, always take a full site backup before updating templates, extensions etc.

0