Link to home
Start Free TrialLog in
Avatar of Rowby Goren
Rowby GorenFlag for United States of America

asked on

Height and width issues with popup

Hello CSS Experts,

Me again.

Doing some fine tuning on the popups of this page:  Poppup width and height issues....

If you click on the images for their "popups"  you'll see most of them have have white space on the right and left that is too wide.  

And you'll also see that the text on the bottom of the popups are usually cut off.

User generated image
Thanks for any help.

Rowby
Avatar of Kim Walker
Kim Walker
Flag of United States of America image

Line 280 of rowbyVeggieCustom.scss... assigns a width to the inner div of 51%.
.modal-box {
    width: 51% !important;
}

Open in new window

This means that 49% of the parent width is unused or white space.
Avatar of Rowby Goren

ASKER

Hi Kim

Thanks for helping on this.

I put that "51%" in the css in to handle the width of the text content. So that's okay.

However I need the width of the modal itself not to be full width.  I need it to be about 60 percent of the width of the page.

And I need the bottom of the text area not to be cut off.  See below for approximately how I want it to look (and also not cut off the bottom of the text area.
User generated image
Rowby
ASKER CERTIFIED SOLUTION
Avatar of Kim Walker
Kim Walker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hmm   I'll try the margin suggestion on the container.  That might do it.

Rowby
Thanks Kim!