I copied and pasted form’s HTML, CSS and JS for now just to test it on my subdomain with Bluehost to make sure it sends newsletters about new blog posts. I think I have some flexibility in terms of tweaking HTML and CSS. I think Sendinblue allows it even though I am on a free plan.
I have 2 questions:
Can I just delete all default CSS and then use my own? Anyone integrated such form before? I know I can’t delete JS because the form relies on it to react to user interaction with the form.
Right now the form sits just above section to which I applied a simple grid to organize Wordpress blog post
I have no knowledge of the Sendingblue email form but generally with third party software you would not change the default css but create a custom over-ride theme of your own. In that way you are less likely to break the form should it be updated at some time. It looks like theres very little to over-ride anyway as its a small form.
Why can’t you just put it there? You’ve inserted it above the element so I’m not sure why you are expecting it to be somewhere else. It can’t go in the middle of those 2 columns anyway as they are grid columns. Why don’t you just place it above the 2 columns.
I tried putting it before the loop within section to which grid is applied. It becomes a grid item and just sits to the left of the first blog post (all blog posts articles are produced by index.php and content.php by running a while loop but I think number of posts shown can be controlled via WordPress dashboard). I wonder if I should adjust the grid somehow for that page by say creating a row to contain the form…
I did. As to over-rides of form inline styles, I just used !important; as suggested in this article. Not sure if its a proper way but it worked
Please take a look when you get a chance
My original video files that I uploaded to WordPress are mp4, 16:9 aspect ratio, frame width: 640, frame height 360.
I was experimenting with videos’ width and height to make videos a little more bigger so they take more of white space on work page (please see original link in post #1 in this thread). I checked whats the next resolution that comes after 640 x 360 within 16:9 aspect ratio and it appears it is 854 x 480. So I just used WordPress PHP function to set videos to 854 x 480 on the backend and then changed the videos dimensions using the following CSS. Is it OK or should I do it differently?
I would use a fluid width video and let it fit all screens without needing media queries.
If you set the width to a percentage and the height to auto it will maintain its aspect ratio. You can of course also set min and max widths if required.
and it squeezes the videos as shown in that CSS Tricks article (see section of the article about Youtube video wrapped in iframe) because WordPress wraps them in iframe I guess…