- Posts: 21
COMMUNITY FORUM
Month mismatch in archive month display
- Paul Srch
-
Topic Author
- Offline
- Junior Member
If you go to threecatsmarketing.comn/blog then click on April 2021 in the side bar under "Archives" - what happens for you? I still see March in the page heading, not April. Are you seeing something different?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
See this: www.threecatsmarketing.com/component/k2/date/2021/3 (no K2 items, yet the title is again set one month back)
In K2, this is the part that controls the title output: github.com/getk2/k2/blob/master/components/com_k2/views/itemlist/view.html.php#L410-L437
Is there any chance some part of your site's code is renaming the months or something? Some plugin? Or some weird language override? It is surely not the template because calling the same URLs with ?template=protostar at the end results in the same issue.
For reference, change the months here: demo.getk2.org/component/k2/itemlist/date/2012/3?template=protostar
You'll see that URLs and actual displayed months are in-sync.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Now, all I need to know is where I can update the CSS so I can adjust some of the look and feel...
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
As for styling K2, use this guide for reference: getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates
K2's default CSS can easily be overwritten or entirely switched off (in K2's settings). By making use of sub-template overrides and category parameter inheritance, you'll soon discover the true power of K2 :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
div.k2Pagination ul li a { color: #10316b; } div.k2CategoriesListBlock ul li, div.k2ArchivesBlock ul li { margin-bottom: 0px; } div.itemAuthorBlock { background: inherit; border: inherit; } div.itemNavigation { background: inherit; } div.itemToolbar { background: inherit; } div.itemListCategory { background: inherit; border: none; } div.itemListCategory img { display: none; }
However, it's not having any effect. I've cleared my cache, so I know that's not it.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.