Effect changes to Page Title behaviour
Permalink Browser Info Environment
Hi,
The template (as it currently functions) adds classes to the h1 tag for the page title depending on the length of the title. I want to stop that, but I'm having troubles figuring out how make that happen.
I know the code is in themes/pixel/elements/header-parent-title.php, but the behaviour doesn't change when I change the code. Is there a path I can create beneath the applications folder that will override this script? OR, what else can I do to eliminate this behaviour.
Thanks!
The template (as it currently functions) adds classes to the h1 tag for the page title depending on the length of the title. I want to stop that, but I'm having troubles figuring out how make that happen.
I know the code is in themes/pixel/elements/header-parent-title.php, but the behaviour doesn't change when I change the code. Is there a path I can create beneath the applications folder that will override this script? OR, what else can I do to eliminate this behaviour.
Thanks!
Type: | Pre-Sale |
---|---|
Status: | Resolved |
That worked. Thanks!
I noticed the very sam code in another script in the same directory (header-parent-title.php). Is that script defunct or not used?
I noticed the very sam code in another script in the same directory (header-parent-title.php). Is that script defunct or not used?
That's legacy code, and obsolete on V2.4.
Makes sense. Thanks!
For doing so, open the `packages\theme_pixel\themes\pixel\elements\header.php` and append this line after if/else block at line 297: [check the attached screenshot]