Forum Replies Created
-
AuthorPosts
-
December 7, 2023 at 8:27 am in reply to: The colour section is smaller than it should be for a short time #1427414
Hi Ismael,
Thank you. Css has helped.
Have a nice day!
Hi Mike,
you can close this.
Of course it would be nice if you could explain why I have this problem with duplication, but thanks for the solution anyway.
I wish you a nice weekend!
Hi Mike,
the script works perfectly. I have no problems with duplicating. Thank you!
(But this is very strange, all plugins give me problems with duplicating, and this script doesn’t. :))P.S: One more little detail about duplication error mit Plugins:
the CSS is broken on the page that was duplicated, first after publishing the copy.Hi Mike,
I’ll try to explain everything from the beginning, because unfortunately you don’t understand me yet.
I had the problem of duplicating a page with plugins like in this post: https://kriesi.at/support/topic/alb-element-custom-styling-lost-with-duplicate-plugins/
The problem is that after duplicating, the CSS is not correctly loaded on the page that was duplicated.
here are the screenshots:
Page before:
http://borgmeier.borgmeier.media/wp-content/uploads/2023/08/before.jpg
Page after:
http://borgmeier.borgmeier.media/wp-content/uploads/2023/08/after.jpg
So from your advice from https://kriesi.at/support/topic/alb-element-custom-styling-lost-with-duplicate-plugins/
I wrote this code in functions.php:function custom_avf_post_css_create_file( $create ) {
return false;
}add_filter( ‘avf_post_css_create_file’, ‘custom_avf_post_css_create_file’, 10, 1 );
After that, the duplication worked great.
But I saw that the HTML looks quite different:
Here are two more screenshots:HTML before functions.php was changed:
http://borgmeier.borgmeier.media/wp-content/uploads/2023/08/code-before.jpg
HTML after functions.php was changed:
http://borgmeier.borgmeier.media/wp-content/uploads/2023/08/code.jpg
The <style> elements in the second screenshot are my problem.
I need to get them out or I should find another solution to the duplication problem.
As I told you, I have the problem with duplicating not only on this website, but on all my websites. That’s why I changed the functions.php everywhere. And I don’t know what problems can arise now. I can’t now customize the CSS everywhere because of these <style> elements. But they really cause problems.Thank you for your patience.
- This reply was modified 1 year, 2 months ago by alexgorg.
Hi Mike,
unfortunately this style gives me problems.
For example I have this code for desktop smaller than 1200px:.four-column-section .col-with-icon.flex_column:nth-child(4) {
margin-top: 50px;
}
and because I have two <style> elements in parrent div , it doesn’t select the fourth flex_coumn but the second one.But the biggest problem is that I have disable post css in several websites because I always had the problem with duplicating the pages. And I don’t know how the other pages behave responsively now, so I have to find a solution to remove these <style> elements. I hope you understand what i mean. :(
Hello Ismail,
here is a screenshot of HTML: http://borgmeier.borgmeier.media/wp-content/uploads/2023/08/code.jpg
The <style> elements bother me. Because I can’t work correctly with nth-child selector.
Please help me.
I am also attaching the login details.
Thanks
Hi Mike,
my problem was like in this post: https://kriesi.at/support/topic/alb-element-custom-styling-lost-with-duplicate-plugins/
That’s why I wrote the code in functions.php.
But now in html code i have this <style> element. And where in the css did I use :nth-child selector, doesn’t work properly anymore.
I hope you understand what I mean.Hi Mike,
I had already incorporated this code into functions.php because I had problems with duplicating pages. Because of this code, my HTML is broken.
Is there a way to prevent this?
Thank you!Hey Mike,
thank you very much.
That helped.
I wish you a nice day!
Hey Nikko,
I updated the theme to 5.6.3 and the problem is solved.
Thank you!
I started another topic because I’m having problems with CSS after the update.
Can you please close this topic and help with another topic? Thank you very much
I found a solution. You can close or delete the topic
Hi Nikko,
it helped. Thank you very much! :)Hi Rikard,
you can close it.
Thanks!
Hi Mike,
that was my mistake.
I modified loop-index.php a bit incorrectly.
Thank you very much! Now everything is shown correctly.Hey Mike,
thanks for the reply. So the problem is really in the posts. Namely the posts that have tags.
After I removed the tags, everything works ok.
But still I would like to find a solution that would work together with tags. In the future, each post should have one.- This reply was modified 1 year, 10 months ago by alexgorg.
January 5, 2023 at 9:22 am in reply to: Dynamically Change Number of Columns in Post Slider #1377678Hello. Did you find a solution? Thanks!
November 21, 2022 at 2:35 pm in reply to: Contact Form | Problems with Enfold Numeric Captcha validation #1373375You can delete the question. Was my fault. sorry)
-
AuthorPosts