zkarj
Forum Replies Created
-
Aha! That did indeed push it into the centre. It’s not quite meeting the width limit, but I reckon I can tweak that with a containing group.
Thank you so much for sticking with this.
I did notice overlaps when I was playing with other settings. The reason I chose 8 is because I want to limit it to a single row. I’m less concerned about the actual number than limiting the vertical space to the single row.
I’ve set the number of columns to auto and now it displays a row of 7 plus an additional row of 1. That extra could be sorted by asking for only 7 photos, but the whole block is still offset compared to all the other content.
Hi.
The original site is here: https://zkarj.co.nz
My staging copy with the Photonic block inserted is here: https://wordpress-888834-6302892.cloudwaysapps.com
I should add I updated to 3.30.
No worry on the delay. I’ve had some stuff I’m dealing with too and this is not a high priority.
I’ve added the centring CSS and can see it has made a difference, but the block as a whole is still hugging the left side of the layout instead of sitting in the centre as every other block does.
The basic structure of the page body is a group within a group. Both levels of group have “Inner blocks use content width” selected and both are set to centre justification. If I place a horizontal rule within the inner group and it has alignment “wide width (1340px)” then it renders in the centre of the page. Likewise a heading and a post loop block both honour the width and central position.
Photonic’s block honours this in edit mode (when no content is shown) but when rendered, only the width is honoured. The centre position is not. Despite the margins shown in the rule above.
Thanks, I have confirmed it is now configurable. It has thrown up another issue but I will start a new thread for that.
Thanks for updating me.
Actually, I am a dummy. It’s a staging site so I can put the block anywhere. So, I put it right at the top, before the first template part. Same problem.
It seems, at least for me, it will not work in the Site Editor, only the Post/Page Editor.
I realised there were a couple of other plugins that were block-oriented, so I spun up a staging site to try deactivating them.
The short version… I deactivated ALL plugins and the problem persisted. Interestingly, I inadvertently deactivated Photonic as well at which point the editor put up a placeholder block explaining that I did not have Photonic installed, so it was aware of the block I had left there.
I re-enabled only Photonic, removed the block, re-added it, and I still have the same problem.
My theme is just TwentyTwentyFive, so hardly unusual. I wonder if it’s the placement of the block. It is nested inside two levels of groups.
Header with large title (template part)
Group
Group
Group
Group
Separator
Photonic Gallery
Heading
Query Loop
Footer Newsletter (template part)There are, of course, other things inside the first two groups.
- This reply was modified 2 months, 1 week ago by zkarj. Reason: Consistent terminology
I am only using the free features of Otter. This is the plugin page link, to be sure it’s the same one: https://en-nz.ww.wp.xz.cn/plugins/otter-blocks/
I did try adding a shortcode block but there is no ability to set the width attribute and it ends up rendering hard against the left margin of the page, further left than any of the other content. At least with the unconfigurable Photonic block, I can set the wide width I want and it respects it in the editor.
I do not. I’ve been using native Gutenberg from the inception of the site. The only page-building relevant plugin I have is Otter. As mentioned, if I edit content in a regular page, the logo appears and I can configure the gallery without issue. I’ve done this multiple times.
Forum: Plugins
In reply to: [Contextual Related Posts] CRP only shows when I’m logged inHere is my config.
{
"cache_posts": 0,
"cache": 1,
"add_to": {
"single": "single"
},
"content_filter_priority": "999",
"insert_after_paragraph": "-1",
"disable_on_mobile": 0,
"disable_on_amp": 0,
"uninstall_options": 0,
"uninstall_indices": 1,
"uninstall_indices_deactivate": 0,
"show_metabox": 0,
"show_metabox_admins": 0,
"show_credit": 0,
"limit": "9",
"daily_range": "0",
"ordering": "random",
"random_order": 0,
"match_content": 0,
"match_content_words": "0",
"post_types": "post",
"same_post_type": 0,
"same_author": 0,
"primary_term": 0,
"same_taxes": "post_tag",
"match_all": 0,
"no_of_common_terms": "1",
"related_meta_keys": "",
"exclude_post_ids": "",
"exclude_cat_slugs": "",
"exclude_categories": "",
"disable_contextual": 0,
"disable_contextual_cpt": 1,
"title": "<h2>Additional Photos<\/h2>",
"blank_output": "blank",
"blank_output_text": "No related posts found",
"show_excerpt": 0,
"excerpt_length": "10",
"show_date": 0,
"show_author": 0,
"show_primary_term": 0,
"title_length": "60",
"link_new_window": 0,
"link_nofollow": 0,
"exclude_output_header": 0,
"exclude_on_post_ids": "",
"exclude_on_post_types": "page,attachment",
"exclude_on_cat_slugs": "",
"html_wrapper_header": 0,
"before_list": "<ul>",
"after_list": "<\/ul>",
"before_list_item": "<li>",
"after_list_item": "<\/li>",
"post_thumb_op": "thumbs_only",
"thumb_size": "crp_thumbnail",
"thumb_width": "190",
"thumb_height": "190",
"thumb_crop": 0,
"thumb_create_sizes": 1,
"thumb_html": "html",
"thumb_meta": "post-image",
"scan_images": 1,
"thumb_default_show": 1,
"thumb_default": "https:\/\/justbirds.photo\/wp-content\/plugins\/contextual-related-posts\/default.png",
"crp_styles": "grid",
"custom_css": "",
"feed_options_desc": 0,
"limit_feed": "5",
"show_excerpt_feed": 0,
"post_thumb_op_feed": "text_only",
"thumb_width_feed": "250",
"thumb_height_feed": "250",
"exclude_on_categories": "",
"use_global_settings": 0
}Forum: Plugins
In reply to: [Contextual Related Posts] CRP only shows when I’m logged inWhen working, there is an “Additional Photos” heading below the map on this page and then a thumbnail of a matching post.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Five] How to manage all the widths?Thank you, that is very informative.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Five] How to manage all the widths?Thank you!
The basic problem is I was freely able to edit the middle of the page but not the header nor footer (in the same way), when it comes to width. I now have more information on how this works.
Like almost all software, not just open source but particularly open source, documentation documents (and in the case of WordPress, just barely) but it does not teach. The more customisation that can be done by non-developers, the better the documentation needs to become.
Your response has given me a bunch of things to dive into, for which I am appreciative.