Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With Commerce Kickstart I would like to use a node (e.g. node/20) for my home page and display the page title (h1) and body content.
However, after updating my 'Default front page' within 'Site Information' (admin/config/system/site-information) the resultant home page does not show the title (it only shows the body text)?
Is there anyway to make it show the title (h1) and body content as it does for say the 'About' page.
Please note, if I set the 'About' page to be the default front page then again its title is not display when used as the front page.
Any guidance would be greatly appreciated!
Comments
Comment #1
vaccinemedia CreditAttribution: vaccinemedia commentedDid you ever find a solution to this?
Comment #2
mikee CreditAttribution: mikee commentedHI vaccinemedia,
Unfortunately not and this project has been put on hold for the moment. If we do get a solution I'll update. In the meantime, if you manage to get this resolved would be great if you'd let me know.
Many thanks,
Mikee
Comment #3
vaccinemedia CreditAttribution: vaccinemedia commentedI have used delta and delta blocks to turn the page title into a block but it's not the best / most ideal solution to have the title as a block. It's treating the symptom and not the cause ;) You then have 2 choices: manage it using block visibility and only have it appearing where you want it to or you can hide the title in the theme settings site wide and then have the title block appearing site wide. Let me know if that works for you!
Comment #4
jamesh81 CreditAttribution: jamesh81 commentedI'm having this problem too - I haven't found a suitable way around it yet, would be great if a solution/fix was found to return normal behaviour.
Comment #5
Infinitee CreditAttribution: Infinitee commentedUnfortunately, ALL node Titles are forced to be display as {h2} when they should be {h1} for best SEO results. I tried changing this in views but, it would not take.
Comment #6
Poieo CreditAttribution: Poieo commentedTook me awhile to find this...
Commerce Kickstart Block module hides the page title on the front page and on taxonomy term pages with the following:
It doesn't make a whole lot of sense for a module to handle this. Why not move this to the theme layer instead?
To get your titles back you must disable the module.
Comment #7
xax@poieo, many thanks for tracking down the source of this, it had been bugging me for ages now! All the sites I build have a 'basic page' node as home (so far never met a client who needed a list of blog posts..), and I have run css circles to display the block title on but not on the other pages to solve this.
Thanks to you I just went to the commerce kickstart block module, greyed out the first 'if' like so:
and hey presto my title appeared in all its styled glory! (by the way, this was in Com Kick 2.12, same issue, same solution..)
Many many thanks! And please, wonderful Commerce Kickstart friends, I love your installation profile but please please remove this 'bug'. ..
Comment #8
lsolesen CreditAttribution: lsolesen commentedRelated to and a possible duplicate of #2118059: Missing H1 / Title on default taxonomy view
Comment #9
tfranz CreditAttribution: tfranz commented@Poieo: Thank you for the solution!
@Kickstarters: please remove/change this behavior when front page set to a node … thank you!
This works for me:
Comment #10
lsolesen CreditAttribution: lsolesen commentedComment #11
mglamanMarking to bug, we shouldn't hide title if set to node (or only our expected default.)
Comment #12
lsolesen CreditAttribution: lsolesen commentedhttps://github.com/commerceguys/commerce_kickstart/pull/202
Comment #13
rszrama CreditAttribution: rszrama at Centarro commentedCommerce Kickstart 2.x is in minimal maintenance mode. Closing out all outdated tickets now to maintain focus on Commerce Kickstart 3.x.