Link to category with id
Hi!
I'm new to Bludit CMS and to web-design too.
In bludit I've got static part of page.php (blekathlon theme) and then there are posts. In my header I've got two buttons with link. First to one of my categories, second - to another one. But I need to open this category not on the beginning of the page where my static part is, but on dynamic part with posts of category.
Here is my site draft: http://kir.dx.am/blog/
I have tried to do this with id tag, but <a href=blog/category/general#news> doesn't work. It opens tag position but doesn't filter category. I've tried _blank option, but the same problem.
Any advice?
I'm new to Bludit CMS and to web-design too.
In bludit I've got static part of page.php (blekathlon theme) and then there are posts. In my header I've got two buttons with link. First to one of my categories, second - to another one. But I need to open this category not on the beginning of the page where my static part is, but on dynamic part with posts of category.
Here is my site draft: http://kir.dx.am/blog/
I have tried to do this with id tag, but <a href=blog/category/general#news> doesn't work. It opens tag position but doesn't filter category. I've tried _blank option, but the same problem.
Any advice?
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
<a href="http://kir.dx.am/blogblog/category/general#news"> works for me.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Thank you,for your reply. I've changed href to absolute links.Edi wrote: ↑Fri Sep 06, 2019 10:50 am <a href="http://kir.dx.am/blogblog/category/general#news"> works for me.
But it still doesn't work in propper way.
Try to visit http://kir.dx.am/blog/ and press one of two buttons. In my case it opens id="news", but doesn't "filter" posts. If you try to use link http://kir.dx.am/blog/category/general#news from you browser panel,not button, it works.But not with help of buttons
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
I think the problem is "target=_blank" in connection with an anchor. Try without it or another attribute.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
Perhaps there is a script or something, but the URL is not shown in the adress field of the browser.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Yes, you were right. This problem is due to jquery.min.js
When I disabled this script, everything works fine, but animation on my site stopped to work.
Do you know, how to avoid using this script only on two button elements?