Closed mtdkei closed 6 months ago
個別投稿で使っているカラムブロックの幅に数値を入れても変わりません。
サイドバーに使用されている以下のHTMLと <div class="wp-block-column is-style-main-layout-sidebar is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33.333%">
<div class="wp-block-column is-style-main-layout-sidebar is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33.333%">
以下のCSSがバッティングし、is-style-main-layout-sidebarの方が勝ってしまいます。
.is-style-main-layout-sidebar { flex-grow: unset !important; flex-basis: var(--wp--custom--layout--sidebar) !important; }
上記の原因は!importantかと思いますが、!importantを書いている理由があると思われるため、issueだけ上げておきました。
@mtdkei たぶんこれの事かな?
https://training.vektor-inc.co.jp/courses/x-t9-basic-settings/lessons/x-t9-sidebar-width/
@kurudrive そこでした!お手数をおかけしました。ありがとうございます。
現状
個別投稿で使っているカラムブロックの幅に数値を入れても変わりません。
現象の確認手順
原因と思われる部分
サイドバーに使用されている以下のHTMLと
<div class="wp-block-column is-style-main-layout-sidebar is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:33.333%">
以下のCSSがバッティングし、is-style-main-layout-sidebarの方が勝ってしまいます。
上記の原因は!importantかと思いますが、!importantを書いている理由があると思われるため、issueだけ上げておきました。