Konstra Header Customization - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Konstra Header Customization

pulsar agency

pulsar agency

Helix Framework 3 years ago

Hi On https://www.pulsar-agency.com/actus-blog we have a blog that is displayed with Helix Ultimate Konstra template.

on the blog main page the header displays the menu item title : NEWSROOM as a H1

but on each blog post the header still displays the same H1 title : NEWSROOM !

the problem is that we have TWO H1 on the same page (for instance on https://www.pulsar-agency.com/actus-blog/entry/pourquoi-facebook-devient-meta)

  • the generic blog H1 title : NEWSROOM
  • the specific post H1 title : "Pourquoi Facebook devient Meta"

How can we

1- either remove the generic H1 title / page title only on the blog item pages (but keeping it on the generic blog homepage)

2- or have the NEWSROOM title be only a <p> on the blog item pages

thanks

0
6 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #72058

Hi there!

Thanks for contacting us.

The blog pages are from easyblog though, I have shared a custom CSS for you, please put the code snippet within your custom CSS:

body.com-easyblog.view-entry .sp-page-title-heading {
    display: none;
}

Hope this will serve your purpose!

Note: Path towards custom CSS(Joomla 3): Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Best Regards

0
pulsar agency
pulsar agency
Accepted Answer
3 years ago #72122

Thanks but it only hides the page title and for the Google Bots it doesn't change anything :(

if you use chrome web dev and select DOCUMENT OUTLINE you will still see the first H1.

We are looking for a way to REALLY disable the PAGE TITLE on the blog items and we don't know which php file we have to touch

thanks

cyril

0
pulsar agency
pulsar agency
Accepted Answer
3 years ago #72261

Moreover stackideas support (the guys who deliver the easyblog component) claim they can't do anything since this H1 is generated through Helix Ultimate.

0
pulsar agency
pulsar agency
Accepted Answer
3 years ago #72282

I discovered that the templates\konstra\features\title.php file is responsible for this behaviour

so I added these lines in the file

            $uri = & JFactory::getURI();
            $absolute_url = $uri->toString();
            if (strstr ($absolute_url,"entry") )       
                $page_heading= 'p';

        but of course this hack won't support next updates !!                   
0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #72288

Hi,

Glad that you have made it...

However, one is coming from Easyblog and another is from helix page title feature. And yes, it seems requires code customization, which is prohibited here.

You may try to create override for this, then they will not be removed with updates: https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/template-views-override

Hope this helps anyways!

Best Regards

0
pulsar agency
pulsar agency
Accepted Answer
3 years ago #72290

thanks but here we use the KONSTRA template which is based on helix ultimate 1.x and we can't update it

0