CMS Development

EricaFontimedia
Contributeur | Partenaire solutions Elite
Contributeur | Partenaire solutions Elite

Problem with CSS style in listing

Résolue

Hi everybody,

I have a little problem with my listing and I can't understand how to solve it.

We have this blog:

https://blog.kiroconcept.com/en

and  you can see the page correctly, in the english version.

Instead, there is a problem of spacing in the italian one:

https://blog.kiroconcept.com/it

 

How can it be possibile?

Looking at the inspector, it seems it doesn't apply the CSS present in the file "_blog.css"

 

Can somebody help me?

 

Thanks a lot!

0 Votes
1 Solution acceptée
felixmacaspac
Solution
Contributeur

Problem with CSS style in listing

Résolue

@EricaFontimedia It seems like the HTML structure in the Italian version of the page is different, I noticed that in the English version the articles have a wrapper named "content_inner" while the Italian version doesn't have this wrapper.

 

felixmacaspac_0-1671721193227.png

 

Voir la solution dans l'envoi d'origine

3 Réponses
EricaFontimedia
Contributeur | Partenaire solutions Elite
Contributeur | Partenaire solutions Elite

Problem with CSS style in listing

Résolue

Thank you!
I doscoverd now that the listing was containing a different module in the drag and drop editor.

About this: the fact that the listing can be edited in the drag and drop causes me always problems.

Is it possibile to block this feature?

0 Votes
felixmacaspac
Contributeur

Problem with CSS style in listing

Résolue

@EricaFontimediayes, it's possible to remove the drag-and-drop feature. you just need to remove the dnd_area in your blog listing template file and replace it with hard-coded modules.

 

here's a code snippet example of a dnd_area:

 

{% dnd_area "main_blog_area" %}
{% end_dnd_area %}

 

 

 

if you need more help you can reach out to me privately.

0 Votes
felixmacaspac
Solution
Contributeur

Problem with CSS style in listing

Résolue

@EricaFontimedia It seems like the HTML structure in the Italian version of the page is different, I noticed that in the English version the articles have a wrapper named "content_inner" while the Italian version doesn't have this wrapper.

 

felixmacaspac_0-1671721193227.png