Oh yes, that’s what’s super cool, I learn something every day. Afterwards I start from so low in JS
Widget | CSS customization
-
@phenomlab I was expecting you would need my login information for this one, but you solved it without needing to log in! Congratulations! Another thing is that the website appeared to have been zoomed in when I viewed it once using a friend’s laptop, which I believe had a 14 or 15-inch screen. Do you experience this similar problem? Is it possible to make it that you can see a lot when you visit? Just like many forums
“Late reply, my phone became really hot when applying that css” 🥵
-
Sometime back, it handled huge traffic without lag, wordpress is just superb!
-
@Sala impressive!
-
@Sala hmm - are you sure that your friend isn’t using zoom at the browser level? There’s nothing that would make your site zoom by default. Your friend may also be using large fonts which can make sites already to look larger than they actually are.
-
@phenomlab i suspect the ads inside the content in articles , are not benefiting from full width of the article div container, probably they’re in some other container? Bcoz all the time (on mobile) they’re positioned at center and with a small width
-
I will inspect next time, and take some screenshots of the zoom issue.
-
-
@phenomlab we break that container, when some time ever comes. Full width has potential of increasing chance of click, tho could sound annoying, i know
-
@phenomlab it appears this css didn’t take effect, despite using ! important. If you able to see the path, i could change it from cpanel. Google reported the same issue today.
.perfmatters-lazy-youtube img{height:315px!important}
Page example: view-source:https://sopriza.com/how-kenya-can-use-films-to-attract-more-tourists/
-
@Sala Try locating the CSS block
div.text img
And replace it with
div.text img:not([data-perfmatters-preload])
So, you land up with
@media (min-width: 800px) { div.text img:not([data-perfmatters-preload]) { width: 100%; height: 315px; } }
-
@phenomlab 480*360 its being read from the ytimage so it could be a background img? I have attempted to apply the last css 2 mins ago, and it did not work
-
@Sala Works for me - are you testing this on a desktop? The mobile CSS is a different class
-
@phenomlab i am refreshing the view:source url using mobile, please let me have the class for mobile, i apply
-
@Sala In mobile view, it looks fine already
-
@phenomlab surprisingly on source code the yt thumbnail is still width=“480” height=“360”
-
@Sala No, it isn’t
-
-
@Sala Those are just placeholders and inherited from the iframe embed. If you change those values, nothing will happen.
-
@phenomlab you know the current yt video size is 400 * 225, on that line at the end of that code and still its reported to be very tall. So these placeholders could be the culprit
-
@Sala What do you get if you try in incognito? It works fine for me.
Did this solution help you?
Related Topics
-
-
-
-
-
[NODEBB] CSS Style Sheets SelectBox
Locked Solved Customisation -
-
NodeBB Design help
Solved Customisation -