GavickPro / News-Show-Pro-GK5

Advanced Joomla! content module.
28 stars 37 forks source link

News Show Pro GK5 excessive padding on smartphone #421

Open danjde opened 3 years ago

danjde commented 3 years ago

Hi Devs! As for robertosalviGK5 I've the same issue on mobile view here at the end of News Show Pro GK5 contents,

And as you suggested I've add the css code:

.nspArts, 
.nspLinksWrap {
    padding: 0!important;
}
.nspArt {
    padding: 0 0 15px 0!important;
}

But the problem persist.

nspArtPage module has several pages within it (acccessible with the prev/next buttons). The overall height of the module is determined by the longest of each of those pages. Some of nspArtPage pages are shorter than others (hence why they have lots of space under them) but scrolling to the last of those pages is it possible to see that there is no space after it (because it's the longest page),

Is it possible to remove permanently this padding from mobile view?

Thanks!

Davide

bolando commented 3 years ago

In my case this @media (max-width: 767px) { .nspArts { padding:0 } } helps

danjde commented 3 years ago

In my case this @media (max-width: 767px) { .nspArts { padding:0 } } helps

Hi bolando and thanks for your help!!

Unfortunately this not help me. The problem I think reside on php side, indeed the module calculates the height amount from the number of characters, of each "pagination" and set this value on a general level and not page by page. This is more simple for the developer but produces errors like in this case. Probably the module was developed by a a student with little experience, when he went to school, now that he has found a job he has more to take care of :-D

Davide

bolando commented 3 years ago

OK, I see, you meant height, and my solution fixes only excessive horizontal padding on mobile. The plugin was written by Polish developer https://dziudek.pl/o-mnie working then for Gavick company. I think he was already experienced but 6-7 years ago things were written in different way. Unfortunately he abandoned Joomla for good.

danjde commented 3 years ago

😲😲😲