-
AuthorPosts
-
January 23, 2022 at 1:54 pm #1336734
Hi dear Kriesi-team,
I have a problem with the depiction of my content. The pictures and the text always changes the size(I know sound funny) but for all website I would like them to stay the same size except the mobile version. I really do not know how to achieve this. Could you please provide any tips or ideas, thank you very much.
Sincerely, Veronika
January 24, 2022 at 5:55 am #1336840Hey Veronika,
Thank you for the inquiry.
Where can we see the issue? Please provide a direct link to the page or post so that we can check it. We cannot find the post shown in the short clip and it is quite blurry, so we cannot read the URL field.
Best regards,
IsmaelJanuary 24, 2022 at 1:09 pm #1336893Hi,
in this page … https://verasweek.com/?p=4868&preview=true
January 25, 2022 at 9:07 am #1336995Hi,
Thanks for the link.
It resizes like that because the left and right padding is set to 330px. Did you configure the left and right padding of the column, or did you add this css code?
.flex_column.av-kyq43cw8-afa5fb8d3eb4c9e6c5e2c109354aec12 { padding: 30px 330px 30px 330px; }
Instead of adding a large padding, try to use the column elements to control the width of the text block.
Best regards,
IsmaelJanuary 25, 2022 at 10:24 am #1337013Hi Ismael,
I removed the padding, but now my content is absolutely looking terrible! it is stretched it ist large it has no unity in size!
What I want to Achieve is this: https://imgur.com/dT9ZcaRPlease notice, I even changed in the video the size of the browser window, but it did not affect the content. Do I have to have a special template? or boxed template or something?
I really need your help, how do I achieve this? ( I mean the unity and the same width and size of the pictures and text)
best, Veronika
January 25, 2022 at 1:01 pm #1337056Hi,
Did you move the content inside the columns as we suggested above? Try to insert two 1/5 element in a row and place a 3/5 column in the middle, then move the content inside the middle 3/5 column. This should limit the width of the text and the columns should respond accordingly on smaller screens or when the browser is resized.
Best regards,
IsmaelFebruary 2, 2022 at 11:38 pm #1338545Hi,
yes I did, it ended up looking very very small in the middle. So I searched around a bit and found out, that if I use this code and the classic editor, everything is the Size I want it to have.
#top .fullsize .template-blog .post .entry-content-wrapper > *, #top .fullsize .template-blog .post .entry-content-wrapper { max-width: 90%; }My problem is, that the classic editor has not all the possibilities, ALB has. Is there a way so I could have this kind of content wrapper and use the ALB? See, I want to mix things up.
All my posts should look like this:
first section: 2 full width pictures
than the main content with text, which should be in a content wrapper
end section: 2 full width picturesGerman: Ich hätte gerne auf allen meinen Posts gesetzt grenzen von 90%, die ich aber gelegentlich umschreiben kann, mit einem full width picture
I hope I explained it properly, thank you very much,
sincerely,
VeronikaFebruary 3, 2022 at 11:41 am #1338668Hi,
Thank you for the update.
It is probably easier if we create an example. Please check the post in the private field. We added three color sections in that post, one contains the image above the content and the other one below. We then applied a custom css class name (av-post-content-container) to the color section containing the text so that we can adjust and control the container width. This is the css code.
.av-post-content-container .container { width: 63%; }
You can use css media queries to adjust the width on different screen sizes.
Example:
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ .av-post-content-container .container { width: 63%; } }
This will only apply the changes on screens larger than 768px.
Best regards,
IsmaelFebruary 13, 2022 at 12:25 pm #1340360This reply has been marked as private.February 14, 2022 at 1:54 pm #1340492Hi Veronika,
If you would like to apply the same styling on other Color Section elements, you can do so by editing them and giving them “av-post-content-container” custom CSS class in Advanced > Developer Settings.
If you would like to adjust the width of 1/1 column element, please edit it and give it a custom CSS class (“custom-css” in example below) and then add following code to bottom of Quick CSS field
#top .custom-css.flex_column { max-width: 58%; margin: auto; float: none; }
Best regards,
YigitJuly 9, 2022 at 7:31 pm #1357804Hi Yigit,
I took your example and tried this:
.av-post-content-container-bild .container {
width: 77%;
}av-post-content-container-text .container {
width: 65%;
}I added the text into the custom css class section into the color section. It worked properly, unfortunately it has stopped working. Do I have to change something?
July 9, 2022 at 9:09 pm #1357811Hi,
Please try this instead:.responsive #top #wrap_all #main .av-post-content-container-bild .container { width: 77%; } .responsive #top #wrap_all #main .av-post-content-container-text .container { width: 65%; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeJuly 9, 2022 at 9:35 pm #1357813Hi Mike,
it worked before and it was only applied to the web version. How do I achieve that? It looks very weird on the mobile version and very good on the web version :)
Thank you
Best,
VeronikaJuly 9, 2022 at 9:39 pm #1357814This reply has been marked as private.July 9, 2022 at 10:10 pm #1357816Hi,
It seems like it is working now, this is what is active on your site:.av-post-content-container-bild .container { width: 77%; } .av-post-content-container-text .container { width: 50%; }
I don’t see the css I posted above active on the site.
Best regards,
MikeJuly 9, 2022 at 10:29 pm #1357818Hi Mike,
yes I tried around and removed this code: .responsive #top #wrap_all .container {
width: 85%;
max-width: 85%;
margin: 0 auto;
padding-left:0;
padding-right:0;
float:none;
}now it is working again.
Thank you very much, you can close this now
July 9, 2022 at 10:42 pm #1357822Hi,
I also found on another thread of yours that you had some dashes that was breaking some other css:
so just keep that in mind 🙂
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Display problems’ is closed to new replies.