Hello !
Which is the simplest way to get 'isSection' and 'link' properties of categories to render 'account/categories' pages ? I need them for my account/categories.tpl template.
Thanks in advance for help !
someone knows how to separate category as there https://cryptofr.com/
Bitcoin line
how to add a string between category
@julian Ok but I do not know how I can add a css.
this my forum: http://crox.pl/
and my css:
body {
background-color: #F4F4F4;
}
#content {
background-color: white;
border: 1px solid #EDEDED;
border-radius: 5px;
padding-top: 20px;
}
.categories-title{
color: #000;
}
a {
color: #165199;
}
how do I add this line as:
ul.categories [data-cid="19"], ul.categories [data-cid="27"], ul.categories [data-cid="10"], ul.categories [data-cid="61"], ul.categories [data-cid="44"], ul.categories [data-cid="13"], ul.categories [data-cid="46"]
You'll want to add it like it is defined at the right there.
ul.categories [data-cid="19"], ul.categories [data-cid="27"], ul.categories [data-cid="10"], ul.categories [data-cid="61"], ul.categories [data-cid="44"], ul.categories [data-cid="13"], ul.categories [data-cid="46"] {
background: red;
}
That site used the :before
pseudo-element. You'll want to read more about them here
I would like to see it in core. It seems like a fairly common feature.
ul.categories [data-cid="102"]:before {
content: "Społeczność CroX";
background: #007bff;
color: #fff;
display: block;
position: relative;
height: 40px;
line-height: 40px;
font-size: 15px;
border-bottom: 1px #007bff solid;
text-align: left;
padding-left: 70px;
font-style: normal;
text-transform: uppercase;
margin-bottom: 20px;
font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
border-radius: 5px;
margin-left: 10px;
}
Edit: Added formatting -- @Julian
@yariplus We had a plugin for it, but it broke fairly quickly
Given that it is just CSS, it could actually be done as a plugin, but again, that's more of a creative use of CSS, as opposed to full support...
The trickiness comes from how people expect it to behave... are the category sections purely aesthetic? Are they actually categories? If the latter, can topics be made in the section categories?
I like the classic look of such forum: P
This css has errors attributes However, I hope you do not mind a job forum