CMS Development

EricaFontimedia
Contributor | Elite Partner
Contributor | Elite Partner

Problem with CSS style in listing

SOLVE

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 Upvotes
1 Accepted solution
felixmacaspac
Solution
Participant

Problem with CSS style in listing

SOLVE

@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

 

View solution in original post

3 Replies 3
EricaFontimedia
Contributor | Elite Partner
Contributor | Elite Partner

Problem with CSS style in listing

SOLVE

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 Upvotes
felixmacaspac
Participant

Problem with CSS style in listing

SOLVE

@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 Upvotes
felixmacaspac
Solution
Participant

Problem with CSS style in listing

SOLVE

@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