Support > cpg1.6 themes (visuals)

My theme doesn't work properly on PHP7.1 and higher

<< < (4/4)

ron4mac:

--- Quote from: KchoPrro on September 20, 2022, 08:13:21 pm ---The unsolved problem is to know why there are times that 5 thumbnails appear in the intermediate image and other times 4 (the correct one is 4). This is not a CPG issue, it's a theme issue.

--- End quote ---

In the theme style.css file, at about line 1119, comment out the width spec.:

--- Code: ---#film {
/* width: 100%!important; */
}
--- End code ---
Somewhere in the same file, at an appropriate location, add the line:

--- Code: ---#film .thumb {padding: 1px}
--- End code ---

And part of the issue here does involve the way the film strip was (is) implemented in CPG.

KchoPrro:

--- Quote from: ron4mac on September 20, 2022, 09:07:39 pm ---In the theme style.css file, at about line 1119, comment out the width spec.:

--- Code: ---#film {
/* width: 100%!important; */
}
--- End code ---
Somewhere in the same file, at an appropriate location, add the line:

--- Code: ---#film .thumb {padding: 1px}
--- End code ---

And part of the issue here does involve the way the film strip was (is) implemented in CPG.

--- End quote ---

Finally, the only thing that has managed to adapt has been this code;

--- Code: ---#film {
width: 740px!important;
}

#film .thumb {padding: 5px}

--- End code ---

I don't know if it can affect when we visit the page from a mobile or tablet, but only limiting the size in width pixels (in addition to the 5 px padding), has solved the problem:
https://www.adolfoventas.es/galeria/displayimage.php?album=10&pid=971#top_display_media


Thank you very much for the help, I would never have found this solution.

Interestingly, with the modification you gave me in the previous message and the deactivation of the BB Control Plugin, the Chaoticsoul theme now works perfectly with PHP8.1

Today I will also remove filmstrip_background and this theme will be ready, thank you very much for everything!!

KchoPrro:

--- Quote from: KchoPrro on September 21, 2022, 08:38:42 am ---Finally, the only thing that has managed to adapt has been this code;

--- Code: ---#film {
width: 740px!important;
}

#film .thumb {padding: 5px}

--- End code ---

I don't know if it can affect when we visit the page from a mobile or tablet, but only limiting the size in width pixels (in addition to the 5 px padding), has solved the problem:
https://www.adolfoventas.es/galeria/displayimage.php?album=10&pid=971#top_display_media


Thank you very much for the help, I would never have found this solution.

Interestingly, with the modification you gave me in the previous message and the deactivation of the BB Control Plugin, the Chaoticsoul theme now works perfectly with PHP8.1

Today I will also remove filmstrip_background and this theme will be ready, thank you very much for everything!!

--- End quote ---

I assumed that moving from a percentage measurement to pixels would affect display on other platforms. Attached a screenshot of the page viewed from a mobile.

It is not very important either, the images, in mobile view mode, did not come out correctly either. I can live without it ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version