Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1358484

    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

    #1358487

    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:
    2022-07-15_001.jpg
    please clear your browser cache and check.

    Best regards,
    Mike

    #1358491

    Hi Mike,
    thank you very much for the explanation. It looks alright now.

    Best regards,
    Elena

    #1358495

    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

    #1358503

    You can close it, thank you

    #1358517

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Categories listed with commas on separate lines on top of a single article page’ is closed to new replies.