What to delete in “page-bgtitle.html” to remove PURPLE COVER BLOCK?
-
OBJECTIVE: manually edit “page-bgtitle.html” to remove page title and cover block as i want to have different cover blocks under the transparent header.
WP 6.1.1
Gutenberg: also tried latest plugin version ON and OFF
ALL plugins except Woocommerce turned off for tests
ALL permissions correct folder 755 files 644 (yes, generally correct enough)
CHOWN all files owned by www-data
NOTE: (though not my main puzzlement): if one removes the invisible post block in an own created page template it will collapse and not work. something like that.
Not possible or sensible to try to detail all my observations on editing Page Templates. Whether i create new page or edit “page-bgtitle.html” there’s problems.
I HAVE managed to removed the title from the following “page-bgtitle.html” code.
IS IT POSSIBLE to removed the cover block (purple bit)?
AGAIN: I think need to leave the ‘invisible’ post title block or there’s big problems.
YES, i want to edit the official BLOCKPRESS “page-bgtitle.html”
Asking MotionBlocks to comment if possible.
Or maybe in future update we can have a Page with Transparent Header Page template WITHOUT page title and cover block. Post-content block needs to stay i think!<!-- wp:template-part {"slug":"headertransparent","theme":"blockpress","className":"fr-position-absolute"} /--> <!-- wp:cover {"gradient":"diagonal-primary-to-secondary","isDark":false,"style":{"spacing":{"padding":{"top":"160px","bottom":"120px"}}},"minHeight":350} --> <div class="wp-block-cover is-light" style="padding-top:160px;padding-bottom:120px;min-height:350px"><span aria-hidden="true" class="has-background-dim-100 wp-block-cover__gradient-background has-diagonal-primary-to-secondary-gradient-background has-background-dim has-background-gradient has-diagonal-primary-to-secondary-gradient-background"></span> <div class="wp-block-cover__inner-container"> <!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"20px"}},"textColor":"white","className":"is-style-default","layout":{"inherit":true}} --> <div class="wp-block-group alignfull is-style-default has-white-color has-text-color"> <!-- wp:post-title {"textAlign":"center","level":1,"align":"wide","fontSize":"max-huge"} /--> </div> <!-- /wp:group --> </div> </div> <!-- /wp:cover --> <!-- wp:group {"style":{"spacing":{"padding":{"top":"40px","bottom":"80px"}}},"layout":{"inherit":true}} --> <div class="wp-block-group" style="padding-top:40px;padding-bottom:80px"><!-- wp:post-content /--></div> <!-- /wp:group --> <!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer is-style-no-margin"} /-->
- The topic ‘What to delete in “page-bgtitle.html” to remove PURPLE COVER BLOCK?’ is closed to new replies.