Hello,
You should try to add !important condition for some CSS attributes and see if that works.
Thanks @shufflehound but unfortunately that didn’t make a difference.
Any other ideas?
On your WordPress site, you have extraneous <br> tags in between all of your images. I’m not exactly sure why they’re being added, though. Did you use the Visual or the Text editor when you created the content of that page?
Thanks @stephencottontail I only used the <br> tags because they achieved the desired 3 / 2 / 1 layout in my codepen project. When they are removed the images all go inline horizontally.
However on WordPress whether they are removed or not the images all display vertically regardless. I have checked all the inbuilt CSS I can find in the template and can’t see what’s doing it :S
I suppose the problem stems from me not really knowing how I created the effect in the first place in codepen :p
Oh sorry Stephen I see what you mean now – there are
tags between every image for some reason even though there’s only two in my html. I copied the html in to the Text editor for that page but have no idea why they are being added :S
Right so according to this thread https://ww.wp.xz.cn/support/topic/i-keep-getting-ltbrgt-after-images-i-dont-want-them?replies=7 it turns out WordPress seems to just put <br> in between some elements. I fixed it by downloading the disableautop plugin. Seems abit messy solution but it works. Now I need to figure out why each of my rows have blue lines through them ?!
I checked your site at 12:37pm Mountain time and I didn’t see any blue lines. Have you tried force-refreshing your browser or temporarily disabling any caching plugins you may be using?
Hi Stephen – I had to just manually change the color to transparent for all items to get rid of the blue line. No idea what caused it though :S