⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


GaryW

Member Since 15 Aug 2019
Offline Last Active Private
-----

Posts I've Made

In Topic: Increase size of Add Modal

03 October 2019 - 03:15 PM

Fixed, thank you Sereno, slight correction:

        <style type="text/css">
           .gc-modal-body {
           min-height: 500px !important;
           max-height: 953px !important;
           }
      </style>

In Topic: Increase size of Add Modal

03 October 2019 - 03:03 PM

Thats where i am putting it, i can see it in my source code but its not showing up in the inspector window.

 

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <?php foreach($css_files as $file): ?>
        <link type="text/css" rel="stylesheet" href="<?php echo $file; ?>" />
    <?php endforeach; ?>
    <style>
     .gc-insert-modal .gc-modal-body {
        min-height: 500px !important;
        max-height: 953px !important;
     }
    </style>
</head>
<body>
        <div style="padding: 20px 10px;">
            <?php echo $output; ?>
        </div>
        <?php foreach($js_files as $file): ?>
            <script src="<?php echo $file; ?>"></script>
        <?php endforeach; ?>
</body>
</html>

In Topic: Increase size of Add Modal

02 October 2019 - 09:22 PM

Curious, where in your view are you coding?


In Topic: Increase size of Add Modal

02 October 2019 - 08:13 PM

You would think that would work but it doesnt

 

 

Ok, then use "!important"

.gc-insert-modal .gc-modal-body {
   min-height: 500px !important;
   max-height: 953px !important;
}

In Topic: Increase size of Add Modal

02 October 2019 - 07:27 PM

Thank you Soreno, unfortunately that doesn't work.  The Min-Height Css is inline so it gets over ridden.