Videos placement in Ubud theme in posts
-
Hi!
We are using Ubud theme and in our posts we would like videos to appear the same as images and galleries (see examples).When we place an image or a gallery after the intro text (ex. William & Co…it’s just…), (ex. Say Cheese…say Arla…) they appear underneath the post tags (maybe due to a padding, margin etc) and we like that area of white.
But if we place a video it appears differently next to the header (Handles with care…) and the white area disappears.We were told by the happy engineers to ask you guys for help as they think CSS coding is the solution.
The Ubud theme is a responsive theme and CSS coding for that is a bit too tough for me… ;-)Are you able to help us ?
Thanks in advance…
Example pages mentioned above (from our website):
post with image: http://bonnelycke.com/2014/11/07/william-co/
post with gallery: http://bonnelycke.com/2015/10/24/say-cheese/
post with video: http://bonnelycke.com/2014/08/20/handles-with-care/The blog I need help with is: (visible only to logged in users)
-
Hi,
The following code should resolve your problem. It works with video content embeded from any of the video services supported on WordPress.com.
.embed-animoto, .embed-aol-on, .embed-archiveorg-video, .embed-blip, .embed-dailymotion, .embed-educreations, .embed-hulu, .embed-ted, .embed-vimeo, .embed-vine, .embed-wistiainc, .embed-youtube, iframe { clear: both; } -
-
Hi,
Sorry to bother you again…
Do you also have an idea how to make the images, galleries and videos appear next to the single post headers, categories and tags so the space (line height?) between the single post text and the images, galleries and videos would not be so large ?
Thanks in advance…
-
Hmmm, that is interesting. Add the following to the bottom of your custom CSS.
.aligncenter { clear: none; } -
Thnaks … it works perfect with images and videos but it does not work with galleries… any ideas on why?
-
Ah, missed the Galleries. They are going to take a bit of additional CSS since they have their own CSS class. Add this.
.entry-content .tiled-gallery { clear: left; } -
-
- The topic ‘Videos placement in Ubud theme in posts’ is closed to new replies.