Warbler100 Posted April 11, 2023 Share Posted April 11, 2023 Hello, similar to this person's problem, I too am having problems with a timeline plugin I got from Squarepaste. I've contacted Squarepaste 3 times to no avail, so I'm hoping someone here has an idea. As opposed to this other person, my timeline content is getting cut off on the left and right when a window is too large. I'm noticing this on a larger desktop monitor, or it can be seen on a laptop if you just make the window large enough (you have to drag the window off the screen to be able to widen the window enough to see the cropping occur). I tried to solve my problem, based on the solution found in the post below, but I wasn't successful. Anyone have an idea? My timeline can be found at https://www.sindecusemuseum.org/tooth-fairy-magic Thank you! Link to comment
tuanphan Posted April 14, 2023 Share Posted April 14, 2023 You mean this problem? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Warbler100 Posted April 14, 2023 Author Share Posted April 14, 2023 I'm not seeing the problem you are circling. My margins are even on both sides. Are they not even on your end? My timeline issue in further detail...When the window is wide enough, my timeline content gets cropped on both sides. I've included a one image of the timeline, where the content is properly aligned and nothing is cropped. The second image depicts the cropping that occurs when my window is too wide. It is a responsive timeline, but at a certain point, the content resizing no longer responds. not cropped... Cropped... Link to comment
Warbler100 Posted April 14, 2023 Author Share Posted April 14, 2023 I'll add that this cropping occurs at exactly 1570 wide. Link to comment
Warbler100 Posted April 17, 2023 Author Share Posted April 17, 2023 On 4/14/2023 at 6:28 AM, tuanphan said: You mean this problem? Did you seem my other two replies? I'm new to the forum, so maybe I posted them wrong. Link to comment
tuanphan Posted April 19, 2023 Share Posted April 19, 2023 On 4/17/2023 at 10:42 PM, Warbler100 said: Did you seem my other two replies? I'm new to the forum, so maybe I posted them wrong. Yes. Try adding this to Design > Custom CSS @media screen and (min-width:1900px) { .quote-block img { width: 100% !important; height: auto !important; object-fit: contain !important; } .Site { max-width: 90% !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Warbler100 Posted April 19, 2023 Author Share Posted April 19, 2023 6 hours ago, tuanphan said: Yes. Try adding this to Design > Custom CSS @media screen and (min-width:1900px) { .quote-block img { width: 100% !important; height: auto !important; object-fit: contain !important; } .Site { max-width: 90% !important; } } Sorry, but that didn't work. I tried it on site-wide CSS and on the actual page code injection, but it still crops. Link to comment
Warbler100 Posted April 19, 2023 Author Share Posted April 19, 2023 8 hours ago, tuanphan said: Yes. Try adding this to Design > Custom CSS @media screen and (min-width:1900px) { .quote-block img { width: 100% !important; height: auto !important; object-fit: contain !important; } .Site { max-width: 90% !important; } } Update: I did have the idea to just set a max-width for the image, which seems to work. But I can't figure out the code for the text. Unless I'm missing something, the code below, more or less does the trick for the image part. .quote-block img {max-width: 500px;} Link to comment
Warbler100 Posted April 19, 2023 Author Share Posted April 19, 2023 39 minutes ago, Warbler100 said: Update: I did have the idea to just set a max-width for the image, which seems to work. But I can't figure out the code for the text. Unless I'm missing something, the code below, more or less does the trick for the image part. .quote-block img {max-width: 500px;} Nevermind, that crops the images on tablet and mobile. 😞 Link to comment
Solution tuanphan Posted April 22, 2023 Solution Share Posted April 22, 2023 On 4/20/2023 at 2:12 AM, Warbler100 said: Nevermind, that crops the images on tablet and mobile. 😞 Move to this position Warbler100 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Warbler100 Posted April 24, 2023 Author Share Posted April 24, 2023 On 4/21/2023 at 9:43 PM, tuanphan said: Move to this position Thank you so much! This worked. I appreciate you taking the time to resolve this 🙂 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment