Title: Adjust Height-Width and Default Border Size
Last modified: August 31, 2016

---

# Adjust Height-Width and Default Border Size

 *  [rocketman](https://wordpress.org/support/users/tedonius/)
 * (@tedonius)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/)
 * This is an awesome plugin!
 * Is it possible to adjust box height/width to 512×384 pixels via CSS? This is 
   so the box fits snugly around a 512×384 video player. I’d imagine that, that 
   would cause the “close button” to be overlayed onto the video which is fine but
   might need to adjust color of close button so it can be seen, is that possible
   via CSS?
 * Is it possible to change the default border size from 25 pixels to 1 pixel via
   CSS?
 * Lastly, is it possible to have box close automatically after video is done playing?
 * Thank you and I look forward to your response.
 * rocketman
 * [https://wordpress.org/plugins/scroll-triggered-boxes/](https://wordpress.org/plugins/scroll-triggered-boxes/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166049)
 * Hey rocketman,
 * That’s a lot of questions :). Let’s get to one thing at a time. Can you please
   share a link to your website where I can test the form. I would then be able 
   to provide you with CSS code to adjust the box size.
 * Secondly, automatically closing the box after the video ends is currently not
   possible. But seems interesting so I’ll definitely ask my colleagues if they 
   know of any way to get this done.
 *  Thread Starter [rocketman](https://wordpress.org/support/users/tedonius/)
 * (@tedonius)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166051)
 * Harish,
 * Thanks for the prompt reply!
 * [Here is the site](http://newsfleek.com) if you can provide CSS code where I 
   can adjust box size however I want, that would be great. Idea here is to make
   it the same size of the video player(s) which come in different sizes but would
   need these size adjustment to be for specific box IDs, not global, since there
   will be a few different boxes with different player sizes; will that be feasible?
 * After some experimenting with padding, turns out that all I need help with is
   CSS to make the padding of the box 0,26,0,0 clock wise from top, so only the 
   right side of the box, has padding of 27 pixels to showcase the close button.
   [See Example here](http://newsfleek.com/wp-content/uploads/2016/03/box.png) Again,
   this cannot be global but specific to box ID.
 * Last question, is it possible to change the cookie expiration days to hours via
   CSS?
 * Really appreciate your help! Like REALLY 🙂
 *  Plugin Author [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166220)
 * Hello,
 * Thank you for sharing the URL. I was not able to see any pop-up created using
   our plugin “Scroll Triggered Boxes” can you please let me know how to replicate
   it?
 * We can add CSS to target only specific pop-ups. Once you share a link to a specific
   pop-up I’ll test it.
 * Lastly, there is no way to change the cookie expiration using CSS. It can only
   be done from our settings page. CSS is used only for styling purpose,
 *  Thread Starter [rocketman](https://wordpress.org/support/users/tedonius/)
 * (@tedonius)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166227)
 * Harish,
 * Ok, I’ve re-enabled the popups with 0 cookie expiration days so it will pop on
   the bottom right corner of the screen and render a video on every page load.
 *  Thread Starter [rocketman](https://wordpress.org/support/users/tedonius/)
 * (@tedonius)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166242)
 * Harish,
 * Are you doing some testing on your end? The reason I ask is because the popup
   is no longer coming up on the bottom right corner and the size is about 30×30
   pixels. I tried recreating multiple boxes thinking there was a bug but they are
   all the same size which would indicate that there may be something happening 
   on your end? Please confirm
 * Thank you!
 *  Plugin Contributor [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166243)
 * Hi,
 * I doubt Harish is testing on your website as he is not on shift right now. Do
   we even have a login for your website to enable us to change anything?
 * If I look at the sourcecode of your website I see the box is setup at “stb-bottom-
   right” thus displaying on the bottom right, and has no content, thus the size
   is very small mostly just displaying the close button. Since I read in your post
   above that you setup bottom-right yourself intentionally the problem here seems
   to be the content in the box not being saved/loaded properly.
 * If you like us to take a more in-depth look for you we will need more (private)
   information. Please contact us via [support@scrolltriggeredboxes.com](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/support@scrolltriggeredboxes.com?output_format=md)
 *  Thread Starter [rocketman](https://wordpress.org/support/users/tedonius/)
 * (@tedonius)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-7166260)
 * Lap,
 * Thanks for chiming in. I actually figured out the issue. It turns out that I 
   needed to select border style then add the content 🙂
 * Haris was going to help me with CSS code to resize the padding to [See Example here ](http://newsfleek.com/wp-content/uploads/2016/03/box.png)
 * In addition, he was going to see if its possible to have the box auto close after
   a video plays through it as that’s what I’m using the box for, that way it alleviates
   one extra step for the site user/viewer to engage in, making it a little more
   user friendly. I turned off the TEST feature because the box loads on every domain
   call and launches the video and it annoys the site users. If you guys can provide
   a time frame with time zone when you guys can look at the [site](http://newsfleek.com),
   I can re-enable it so you guys can see how the box operates with the video in
   real time to work/test on it.
 * Thanks again for your help. I really appreciate it.
 *  [katlinbr](https://wordpress.org/support/users/katlinbr/)
 * (@katlinbr)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-8249358)
 * All: I’ve tried everything to adjust my sites [http://miracleunlimited.com/](http://miracleunlimited.com/)
   border width with no luck. Any suggestions?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Adjust Height-Width and Default Border Size’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/scroll-triggered-boxes_a0af9c.svg)
 * [Scroll Triggered Boxes](https://wordpress.org/plugins/scroll-triggered-boxes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scroll-triggered-boxes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scroll-triggered-boxes/)
 * [Active Topics](https://wordpress.org/support/plugin/scroll-triggered-boxes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scroll-triggered-boxes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scroll-triggered-boxes/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [katlinbr](https://wordpress.org/support/users/katlinbr/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/adjust-height-width-and-default-border-size/#post-8249358)
 * Status: not resolved