How to center a html-bric?


#1

I just started redesigning my Hotel Site. I’ve added an online-booking-widget (html-bric). how can i center it inside its row-container? At the moment it is aligned to the left and that’s not really looking perfect…

Thanks for help! :slight_smile:


#2

create a class called;

div.ibelsa-rooms.ibelsa-signup-wrapper

and set the margin to;

auto


#3

is this possible via menu manager? i could create the class in mm, but how to set the margin to “auto”?


#4

Open class manager set the class and type “auto” in the margin setting input…


#5


#6

thanks - i’ll try.


#7

@simon: i created the class and set margin to auto. But i don’t get the result i want… :thinking:

any idea, anyone?


#8

@Steffscheff
Use

ibelsa-rooms.ibelsa-signup-wrapper

instead because Blocs adds a leading . to div the css isn’t picking up the class

Simon


#9

great - it works! :+1:t2:


#10

It’s looking good, Steffen and Kathi. An English-language version next? :slight_smile:


#11

next project! :wink:


"disappearing" social bric