Navigation überspringen

[Gelöst] change of column width in view

This support ticket is created vor 2 years, 10 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 7 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Weber Edouard Marie Anne vor 2 years, 10 months.

Assistiert von: Minesh.

Author
Artikel
#2630431
wdth_page_4.jpg
wdth_page_1.jpg
wdth_page_2.jpg
wdth_page_3.jpg

Tell us what you are trying to do?

list of works changes column width!
from page 2 to page 3, persistent on page 4

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

versteckter Link

extern3
Let_me_in_2023

#2631345

hi
no news about this unexpected column width change???

#2631383

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

I checked and it seems the issue is due to the CSS added by the plugin "Breakdance":
- versteckter Link

Following CSS is responsible for the conflict:

.breakdance .bde-code-block {
    max-width: 100%;
    display:flex; 
    flex-direction: column;
    align-items: flex-start;
    text-align: left
}

If you remove the following CSS line of code:

  display:flex; 

Then it works. Can you please adjust it accordingly.

#2631639

hi Minesh

sorry I still am kind of newbie.

first: I can't figure out where this CSS code is located!
second: why this change without apparent reason (I could understand if it was one or the other way from the beginning on , but here there is, I think, nothing triggering this change)?

thanks for answer

best

Ed.

#2631717

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

I've added the following cod to your view's "Custom JS and CSS" section's JS box:

jQuery(document).ready(function($){
  
    jQuery("div.bde-code-block-7-101").removeClass("bde-code-block");

});

More info:
- https://toolset.com/course-lesson/adding-custom-css-to-templates-archives-and-views/#steps-for-adding-css-to-a-view

Can you please confirm it works as expected now.

#2632039

hi

no it stays the same (I add the link of the page , page 1 and 2 are ok, from the 3rd no more) versteckter Link

I changed from 3 to 2 rows no change ...

still wondering where you put the css code -> investigating now.

I will come back when/if found or not.

#2632099

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

The code I shared is added to the view added to the following page:
- versteckter Link

I can see the 3rd page is working as expected.

If you want the same on another page where you are using another view, then to that view as well you will have to add the following JS code I shared with my previous reply to your view's custom JS section:

jQuery(document).ready(function($){
   
    jQuery("div.bde-code-block-7-101").removeClass("bde-code-block");
 
});
#2632195

hi
had a hard time to encounter where to put the JS code.

it is at the "content template" effectivamente on the right side at the bottom is the space to enter that code

thanks , that solves that problem

#2632197

thanks again
best
Ed.