I’m adapting my old personal blog (and not-regularly updated ) to have my first contact with Frontity. What I’m wanting to achieve is basically show my posts and pages, and entirely customize the default Frontity theme to use my own look and feel. At the end, I want to start using Frontity in my production environment in a couple of days.
I’m starting this new topic because, when I first tried to navigate through my Wordpress site using Frontity (without customizing and modifying anything), it wasn’t applying any style to the
.wp-block-columns class, and because that, columns weren’t working and pages weren’t properly displayed. Apologies in advance if this is not in the appropriate place to share this, but I wanted also to have the opportunity to ask if I’m solving the problem in an acceptable way, or as the expected way.
I resolved this creating a new processor that applies the
display: flex property, and including that processor in the html2react library.
This is how my processor looks: (Created following the Frontity start guide)
And, after importing it, I’ve included on the html2react initialization:
Hope that this can help to someone. And of course, please if this is not the way to do these things, I would really appreciate to know it and get more used to work with Frontity.
BTW: Apologies if my English sounds “too rude”