Hallo,
I would like to change the aspect of the categories list on top of each article’s page.
When an article belongs to more than one category, the categories appear listed on top of the article on separate lines. Moreover, the categories are separated by commas and each somma appears on a separate line. Here is an example
How can I have them listed on a single line, like they appear for example in each category’s page?
Thank you for your help,
Elena
Hey Elena,
Thanks for your question, the issue was that your css for category links was using “display:block”:
.custom-masonry-cat,
.avia-builder-el-0 .av-post-metadata-category-link a {
color: #719430;
font-family: 'caveat';
font-size: 16px;
text-align: center;
display: block;
font-weight: 700;
text-transform: uppercase;
}
I changed to “display:inline”
.custom-masonry-cat,
.avia-builder-el-0 .av-post-metadata-category-link a {
color: #719430;
font-family: 'caveat';
font-size: 16px;
text-align: center;
display: inline;
font-weight: 700;
text-transform: uppercase;
}
and now the categories are in one line:
please clear your browser cache and check.
Best regards,
Mike
Hi Mike,
thank you very much for the explanation. It looks alright now.
Best regards,
Elena
Hi,
Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
You can close it, thank you
Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard