• It seems the only real way to customize the layout is using custom CSS. This is fine, but some classes override important layout capabilities by using !important. For example, justify-content is centered and cannot be overridden.

    It would be nice if some of these layout properties were available on the block options, particularly alignment. Alternatively, any of these options should be overridable.

    Otherwise, I love the plugin. Let me know if you need any assistance with PR features!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jon Waldstein

    (@jonwaldstein)

    Hey @tjdownes,

    You’re correct, the layout and styles are very limited. The main reason is because this plugin was created specifically for my non-profit who didn’t need those options and later I decided to release it publicly. It’s using flexbox with tailwind css under the hood but everything had to be enforced with !important to prevent weird styling conflicts with themes.

    To be honest, I would love to re-write the styles and change the layout to use CSS Grid with settings that control those layout options. I just have to find the time.

    This plugin is open-sourced on github so if your up to the challenge, feel free to open a PR! https://github.com/jonwaldstein/blocks-for-eventbrite

    Thread Starter tjdownes

    (@tjdownes)

    Sounds good @jonwaldstein. I’ll take a stab at adding block alignment options!

    Thread Starter tjdownes

    (@tjdownes)

    @jonwaldstein I’ve got a branch with the functionality to change the alignment of the event tiles. To do so, I converted it to a flexbox layout and use justifyContent. There is a select on the panel now, and a picker on the block editor.

    I also updated several dependencies to reduce the security issues.

    Let me know how you’d like me to create the PR. From a fork?

    Plugin Author Jon Waldstein

    (@jonwaldstein)

    @tjdownes awesome!

    you can open a PR right on the main repo and I will review it.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customizing layout’ is closed to new replies.