Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Saguaros Moderator
    #1081370

    Hi,

    You can try with this custom CSS:

    .blog-featured .category-name.cat-violet {
        font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }

    Then change the font-family as you wish.

    keytianemouzar Friend
    #1081601

    Hi,
    I modified so that the category shows up the link. Now I would like this link to set the color of the category, not just when I put the mouse. How can I do?


    1. Sem-título27
    2. Sem-título28
    Saguaros Moderator
    #1081807

    Hi,

    You can try opening the file: root/templates/ja_teline_v/less/joomla.less

    Look for the declaration for Category Name and add the background + color as this screenshot: http://prntscr.com/howef4

    // Category Name
    .category-name {
      display: inline-block;
      a {
        background: #fff;
        border: 1px solid @gray;
        color: @gray-dark;
        display: inline-block;
        font-family: @font-family-alt;
        font-size: 11px;
        font-weight: @font-weight-normal;
        padding: 3px (@global-padding / 4);
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1;
    
        &:hover, &:focus, &:active {
          background-color: @gray-dark-max;
          border-color: @gray-dark-max;
          color: #fff;
          text-decoration: none;
        }
      }
    
      // Colors
      &.cat-red {
    
        a {
          background-color: @red;
          border-color: @red;
          color: #fff;
    
          &:hover, &:focus, &:active {
            background-color: @red;
            border-color: @red;
          }
        }
      }

    Then do the same for other colors.

    keytianemouzar Friend
    #1082024

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  keytianemouzar 6 years, 11 months ago.

The topic ‘Change font category’ is closed to new replies.