gantry5 icon indicating copy to clipboard operation
gantry5 copied to clipboard

Page Class not Loading on Category Blog Menu Items

Open dagroupinc opened this issue 1 year ago • 3 comments

With the new template, it appears that the page classes are not loading. On a category blog menu item I've added a custom page class under the page display tab. On the Joomla 3 site you can find the class named "syw-news" loading on the blog container, div.blog.syw-news. On the staging site for the Joomla 4 template it doesn't appear to be showing up. Instead the blog container just has div.com-content-category-blog.blog.

Joomla 3 site: https://skywayyachtworks.com/resources/syw-news

Joomla 4 site: https://skywayyachtworks.com/new/resources/syw-news

Joomla 4.4.0 Gantry 5.5.17 PHP 8.1

dagroupinc avatar Nov 10 '23 21:11 dagroupinc

We've also noticed that the Leading Article Class: .image-left doesn't work properly — it positions the image to the left but doesn't position the text to the right of the image.

dagroupinc avatar Nov 17 '23 16:11 dagroupinc

Hello dagroupinc, Unfortunately I can't reproduce your issue :( Is there a chance that you can provide some screenshots where are you setting this class, so I can easily find what's going on? Thank you

hexplor avatar Nov 21 '23 17:11 hexplor

Hi hexplor,

Yes the class (syw-news) is entered in the Page Class field under Page Display in the blog menu item. The biggest issue is that image float doesn't work and we can't get text to align to the right of an image. A couple other issues requre a template override. Screen Shot 2023-11-21 at 2 03 32 PM

dagroupinc avatar Nov 21 '23 20:11 dagroupinc