Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • estudiovni Friend
    #156356

    Hi, I’m using K2 to insert my content and some of my categories need descriptions (not all of them).

    My problem with the JA Portfolio template is that, when there’s no category description, it leaves a visible space under the category title. How can I hide that?

    In the attached image you can see two category listings with the white space mentioned (which I want to remove), and one with the category description text (which shows correctly).

    Any idea?


    1. category_desc
    Saguaros Moderator
    #362704

    you open the file: /templates/ja_portfolio/css/k2.css and find the following code:

    div.itemListCategory {
    background: #F0F0F3;
    border-bottom: 1px solid #dedede;
    padding: 15px 20px;
    text-shadow: 0 1px 1px #fff;
    }

    replace:

    div.itemListCategory {
    background: #F0F0F3;
    border-bottom: 1px solid #dedede;
    text-shadow: 0 1px 1px #fff;
    }

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum