<div class="categories-listyourcssclassname list-group">
Page Class is a Suffix to the class categories-list (like in module/advanced)
Please change label of Page Class in Menus: Edit Item to Page Class Suffix
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
It's a bug!
It was changed to be a page class and not a suffix iirc and in the body tag its a page class
eg <body class="site com_content wrapper-static view-category no-layout no-task itemid-119 banana has-sidebar-right">
But on the category list it is also being used (not sure if it is supposed to be as its not in category blog)
eg
<div class="com-content-category category-list">
<div class="content-categorybanana">
<h1>Category List</h1>
The "bug" is in C:\htdocs\joomla-cms\layouts\joomla\content\category_default.php
Labels |
Added:
bug
good first issue
Removed: Information Required |
Thanks for reply.
So I see it has already been revised with Joomla 4 (3.x?), so we no longer have a suffix specification like formely in Modules/Advances?
I've checked some menu types.
Category blog -> issue
<div class="blogmycssclass">
single article -> no issue
<div class="article-details mycssclass" itemscope itemtype="https://schema.org/Article">
Category list -> issue
<div class="category-listmycssclass">
List all tags -> issue
<div class="tag-categorymycssclass">
I'll check some more on my demo site
Thanks for reporting! Yes it should not longer be a suffix but a class.
List all Tags -> issue
<div class="tag-categorymycssclass">
In all users menu items like login e.g. issue
<div class="loginmycssclass">
also all contact menu items issue
<div class="contact-categorymycssclass">
I think nearly all layout files must be updated
@dozentis can you confirm which version of joomla you are using as I only found a few and not some of the ones you listed in joomla 4
I was using 4.0.6 and updated to V4.1 and can confirm this, because I've checked every menu tpye today. Unfortunately the demo website is on localhost (Im lecture for joomla and wordpress) but tomorrow i can upload it if you need further investigations
@dozentis are you using the Cassiopeia template? Looks like the view is generated by SP page builder.
@dozentis are you using the Cassiopeia template? Looks like the view is generated by SP page builder.
The page-builder wasn't used for this page (but now it's deactivated), only Helix Ultimate Template and I've switched back to Cassiopeia:
search mycssclass on category-blog page
<body class="site com_content wrapper-static view-category layout-blog no-task itemid-111 mycssclass">
<body class="site helix-ultimate hu com-content view-category layout-blog task-none itemid-111 de-de ltr sticky-header layout-boxed offcanvas-init offcanvs-position-right mycssclass">
and (surprise
<main id="sp-component" class="col-lg-8 ">
.....
| <div class="blogmycssclass">
| <div class="page-header">
| <h1>Immobilien ? Anzeigen - privat und gewerblich✔</h1>
Now I see that I was in wrong line in screenshot/inspector. Didn't see before, that mycssclass was used twice in #body
and #main
(sorry for confusing you guys, but that was surprising, didn't expect the class on both elements)
But anyway, I didn't expect too that the helix template changes code although I wasn't using their own page-title (they add a tab called page-title, see menu screenshot, but it's empty there)
@dozentis as long as the problem is not core Joomla or Cassiopeia template layout we can close the issue here. Agreed?
Closing this issue as this is not a Joomla core problem.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-02-16 21:37:44 |
Closed_By | ⇒ | RickR2H |
Which Joomla version?