Free and Premium WordPress Plugins & Themes Forums WordPress Themes Booklium How to center calendar and search form on page?
- This topic has 4 replies, 2 voices, and was last updated 2 years, 10 months ago by olivier mercier.
- AuthorPosts
- January 10, 2022 at 11:01 am #1242186olivier mercierParticipant
Hello
I am using calendar + form on a standard page , i cannot find a way to center those 2 elements properly on the for desktop ( it s a test site )
https://lecaribou.site/gite-bien-etre/
Plus in the admin, when i place the calendar, as soon as i set an accommodation id to narrow the search, it just desappear
would anyone have any idea ?
January 12, 2022 at 8:24 am #1243333J. DavisKeymasterHi Olivier,
You may try to ally the following style to Appearance > Customize > Additional CSS:
.wp-block-getwid-section__inner-content * {
margin: auto;
}There is no calendar preview on the back-end so that’s why it is displayed as a thin line element. However, it should look correctly on the front-end.
best regards
J. DavisJanuary 13, 2022 at 4:14 pm #1244123olivier mercierParticipantHello
thanks for your answer . It does not work. Wekk actually it works too well, it applies to almost all the blocks on the site
January 18, 2022 at 4:59 am #1245800J. DavisKeymasterHi Olivier,
Thanks for your reply. You may add any custom name of the class to this section that includes form and calendar e.g.
custom-center-align-section
. Then you may add this class to the style that I’ve sent to make it work for sections where this class is applied:.custom-center-align-section .wp-block-getwid-section__inner-content * { margin: auto; }
best regards,
J. DavisJanuary 26, 2022 at 9:26 am #1250492olivier mercierParticipanthello, tks, i ll try this
- AuthorPosts
- You must be logged in to reply to this topic.