Read the statement by Michael Teeuw here.
Can I hard code the widths for the top_left and top_right columns?
-
Hi,
I have a MM module that expands to take up too much of the screen. Instead of using max_width for that one module, is there a way I can hard code the width of both the left and right columns (fields, locations, whatever you call it).I’d like to specify the width of the blank space that goes all the way around the display (or at last the left and right edges), and the width of the left and right columns. I assume this would go in the CSS file somewhere, but I don’t know the names of what I’d need to specify.
Thanks.
-
@sdetweil That being said, you can.
.region.left { min-width: 640px; max-width: 640px; }
It’s dirty, but it does work. Would be really bad if it wasn’t for the fact that we’re working in a system that has a known single output for the most part.
-
see the css/main.css for the base page definition
these are the around the edge spacing--gap-body-top: 60px; --gap-body-right: 60px; --gap-body-bottom: 60px; --gap-body-left: 60px;
web content doesn’t really understand fixed widths
you can set width and heightuse the developers window on the browser you are using to view the MM page (you can view if from your window machine and use the dev window there)
the top right box will let you set styles on the element that is selected,
so you can mod the body, or a region. or… -
@sdetweil That being said, you can.
.region.left { min-width: 640px; max-width: 640px; }
It’s dirty, but it does work. Would be really bad if it wasn’t for the fact that we’re working in a system that has a known single output for the most part.