-
AuthorPosts
-
December 14, 2015 at 9:01 am #552023
Hi,
I managed to place a border around images by using
.avia-image-container img {
border: 4px solid #d8a1ac;
padding: 10px;
}But how can I get a border around medial element “video”? Can’t find anything that works.
Thanks!
December 14, 2015 at 2:33 pm #552277Hi MarikaZoll!
Please add following code to Quick CSS as well
.avia-video { border: 4px solid #d8a1ac; }
Best regards,
YigitDecember 19, 2015 at 12:20 am #555264Thanks Yigit. Still missing the border on 3 page types see below url examples. I hope you can help!
Rgds!December 20, 2015 at 6:41 am #555548December 20, 2015 at 8:44 pm #555650Sorry, the 3 examples included below B Regards!
December 23, 2015 at 8:36 pm #557202Hi, before the holiday, any chance to help with these 3 links to make the borders unified?
Thanks!!December 27, 2015 at 7:24 am #557561Hi,
I couldn’t find any videos on your news page? On this page (private), could you try adding the video with the video element to see if that works better?
Cheers!
RikardDecember 29, 2015 at 6:58 am #558014Sorry I wasn’t clear.
I got help getting borders around some images or video-images but 3 places are not having the needed borders.
I have listed these 3 places in the private area below. I hope you can help with the needed css code to finally get these areas having borders as well.
Thanks!January 3, 2016 at 2:57 am #558907Hey!
Add this to your custom CSS.
article a img, iframe { border: 3px solid; }
Regards,
ElliottJanuary 6, 2016 at 9:11 am #560361Almost there, see my comments in the private box. Hope you can help.
Thanks!January 7, 2016 at 1:38 am #560875Hey!
Try this:
img[class*='align'], #top div .avia-gallery img, .mfp-figure img { border: 3px solid blue; } #top div .avia-gallery img{ padding: 0; } #top .mfp-figure img { padding: 0; } #top .mfp-bottom-bar { margin-top: 0; } #top .avia-popup .mfp-close { top: -35px; }
Modify the first code as needed.
Regards,
JosueJanuary 7, 2016 at 2:16 am #560895Can you help me with what to adjust in the CSS code. The code in the private box is all CSS code I currently have added. I think there is some conflicting code since I doesn’t seem to help.
Thanks!January 7, 2016 at 2:23 am #560898Try replacing that (all) with this:
#top img[class*='align'], #top div .avia-gallery img, #top .mfp-figure img, #top article a img, #top iframe, #top .avia-video, #top .avia-image-container img{ border: 4px solid #d8a1ac; } #top .avia-image-container img { padding: 10px; } #top div .avia-gallery img{ padding: 0; } #top .mfp-figure img { padding: 0; } #top .mfp-bottom-bar { margin-top: 0; } #top .avia-popup .mfp-close { top: -35px; }
If you want to change the border globally you’d just update this line:
border: 4px solid #d8a1ac;
Please make sure you don’t copy these codes from the email notification but from the actual forum reply.
January 7, 2016 at 3:53 am #560950Great! The only left now I believe, is the larger pictures on the page in the private box the rest is now working great!
January 7, 2016 at 2:59 pm #561266Hi!
Try with this:
.avia-slideshow li img { border: 3px solid #d8a1ac; }
Regards,
JosueJanuary 8, 2016 at 1:17 am #561699Hm, no difference. Do you get the large pictures (3 of them) to have the same border as the thumbs? For me, they still are thin.
Thx!!January 8, 2016 at 2:42 am #561743Hey!
The three images are actually one image, it’s not possible to modify the actual image with CSS so you’d need to split them and upload them separately (or edit the image and add the borders manually).
Cheers!
JosueJanuary 8, 2016 at 2:52 am #561749Thanks,
Not sure we are talking about the same thing.
Here is the image for the 3 images with the thin border: https://www.20vikings.com/the3borders.PNG
Hope you can get these image borders to get thicker!!
January 8, 2016 at 10:57 am #561878Ok, try adding this:
#top div .avia-gallery .avia-gallery-big { border-width: 3px; padding: 0; }
Regards,
JosueJanuary 12, 2016 at 3:23 am #563641Thanks! It worked, can you tell me also how I can justify all posts in a css command instead of writing
<div style=”text-align: justify;”>
</div>
in every post!Thanks!!
January 12, 2016 at 11:46 pm #564223Hm, try with this:
article p{ text-align: justify; }
Regards,
JosueJanuary 20, 2016 at 9:11 pm #568876Sorry for late reply, just wanted to thank you, such great support!
January 20, 2016 at 10:43 pm #568913You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Border around media element "video"’ is closed to new replies.