By Stefan on Thursday, 23 May 2019
Likes 0
Views 2.7K
Votes 0
Hi there,

there seem to be still two problems with my installation:

1. the tags 'author' or 'admin' are not shown:
https://stefan-schoch.de/ressourcen/videos/integrale-embodyment-praxis.html#comments

The user is both admin and autor, but neither flag appears. What's wrong?


2. Can't edit CSS files.
I created a copy of the Bubbles template and would like to change the text-size and some margins.
When trying to open the template files, I can't access the CSS:
https://nimb.ws/cRJF5v
Hi there,

1. the tags 'author' or 'admin' are not shown:

"Author" tags/labels will shown if and only if those users are the author of the articles itself. "Admin" tags/labels will shown if and only if those users are in Super Users groups(Joomla user group).

2. Can't edit CSS files.

Those sections are mainly used for template override as you can refer here https://stackideas.com/docs/komento/administrators/customization/theme-overriding. To customise css, you can implement them here https://screencast.com/t/jwEasVMs accordingly.
·
Friday, 24 May 2019 10:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Warith,

thx for your answer.

About the CSS:
I'd like to use one of the existing styles (bubbles) as template and change only little things. So I copied the whole directory into a new one 'stefan'. So far so good.
But when I try to edit the CSS file, it's not formatted correctly (I'm using notepad++, which work perfectly ususally)

Any idea how I can make the CSS files more accessible?
·
Friday, 24 May 2019 13:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Currently, it is not advisable for you to do changes on that files itself as those files are compiled version and we would recommend you to us css custom override as mentioned above.

Those files are compressed files which means that all css on the site will compress into on css files. If you insisted, maybe you can use online css beautifier as for example https://www.freeformatter.com/css-beautifier.html . Please give it a try and see how it goes.
·
Friday, 24 May 2019 14:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

thx again.

So to make sure I get it right:
It's better not to use the existing (compressed) files but to create overrides in the 'custom CSS' section of the Komento backend.

Question:
how would I know the syntax I'd have to enter there (I'm far from being a css expert!)?

I' like to make the space between some elements smaller:
https://nimb.ws/cCT8fX

Could you give me a piece of example code that I could use and play around with the parameters?

Stefan
·
Friday, 24 May 2019 14:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Found it myself

Entered this code:
#kt .kt-comment-content__bd {
padding: 0px 0 0 0;
}
#kt p {
margin: 0 0 0 0px;
}

Does the job!

How woule I change the text size?
It seemd it uses the same definitions as the article. Can I override that so the text is a little smaller in the comment-boxes?

How would I use the 'kmt-comment-item-admin' option and give the admins' comments i.e. a different background color?
·
Friday, 24 May 2019 14:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Good job there Stefan

How woule I change the text size?

You can try to apply them using code below.
[gist type="css"]
#kt p {
font-size:10px !important;
}
[/gist]

How would I use the 'kmt-comment-item-admin' option and give the admins' comments i.e. a different background color?

Can you try css code below and see how it goes.
[gist type="css"]
#kt .kmt-comment-item-admin .kt-comment-content{
background-color: yellow !important;
}
[/gist]
·
Friday, 24 May 2019 15:11
·
0 Likes
·
0 Votes
·
0 Comments
·
you made my day!
·
Friday, 24 May 2019 16:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 24 May 2019 16:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post