Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • rockbox Friend
    #183792

    I’d like to disable K2’s “More in this category” and “Published in”

    Hope someone can help, thanks in advance.


    1. k2morecategory
    TomC Moderator
    #479170

    Looking into how to “disable” these items (if possible), but a quick fix to have those items not display would be . . .

    For “Published In” . ..

    Within file path –> /templates/ja_mero/css/k2.css
    at line 277, change the “display” property to “none – as such . . .

    .genericItemCategory {
    background: url("../images/icon-category.png") no-repeat scroll left center transparent;
    display: none;
    font-size: 11px;
    margin: 0;
    padding: 0 10px 0 25px;
    }

    Similarly, for “More In This Category” . . .

    Within file path –> /templates/ja_mero/css/k2.css
    at line 767, change the “display” property to “none” – as such . . .

    div.itemNavigation span.itemNavigationTitle {
    display: none;
    font-family: 'open_sans_semiboldregular';
    }

    To have the “other items/articles” navigation no longer display ….

    Within file path –> /templates/ja_mero/css/k2.css
    at line 755, change the “display” property to “none” – as such . . .

    div.itemNavigation {
    border-bottom: 1px solid #E5E5E5
    border-top: 1px solid #E5E5E5
    display: none;
    margin: 0 0 20px;
    padding: 5px 10px;
    }

    I hesitate to delete the other properties within each CSS rule above – just in case you later decide you want to display those items and don’t remember what the previous properties were. If I were you, I would make a backup of my CSS files first – just in case.

    Hope That Helps

    rockbox Friend
    #479181

    Thanks Tom, I followed your advice.
    It removed ” More in this category:” title but not the links below.
    Nothing changed with the ” Published in Windows App ” text/link
    Weird there’s no way to enable/disable these features?

    TomC Moderator
    #479183

    <em>@rockbox 354422 wrote:</em><blockquote>Thanks Tom, I followed your advice.
    It removed ” More in this category:” title but not the links below.
    Nothing changed with the ” Published in Windows App ” text/link
    Weird there’s no way to enable/disable these features?</blockquote>
    That’s strange … all three of the methods I described above worked when I tested it out via Firebug.

    Are you certain you saved the changes – and they took?
    Perhaps try clearing both the browser and JAT3 cache?

    rockbox Friend
    #479184

    Yeah was strange, I thought same as you.
    Saved changes.
    I also cleared the browser/Firefox using ccleaner but not JAT3 cache.
    I’ll give it another go in a while, I just restored a backup of the site as the changes I made seemed to effect the social networking buttons just above.
    Anyway the backup worked fine, good news!
    Your help was/is appreciated!

    rockbox Friend
    #479191

    Actually, there is no “Display” property at line755

    div.itemNavigation {
    border-bottom: 1px solid #e5e5e5
    border-top: 1px solid #e5e5e5
    margin: 0 0 20px 0;
    padding: 5px 10px;

    I tried making the changes again with the same result.
    It does make the social buttons load strangely too.

    Thanks Tom.


    1. mero-dis
    TomC Moderator
    #479197

    <em>@rockbox 354435 wrote:</em><blockquote>Actually, there is no “Display” property at line755

    div.itemNavigation {
    border-bottom: 1px solid #e5e5e5
    border-top: 1px solid #e5e5e5
    margin: 0 0 20px 0;
    padding: 5px 10px;

    </blockquote>

    add the property “display: none;” to the CSS rule

    rockbox Friend
    #479210

    Hi Tom,
    I did add the property “display: none;” to the CSS rule the first time, did it again with same result.
    See image

    I’ve double checked your instructions, but I must be doing something wrong??


    1. mero-dis
    TomC Moderator
    #479302

    Can you provide the url of the site you’re working on?

    rockbox Friend
    #479311

    Thanks Tom, it’s local atm.
    When I host it I’ll send you the url, much appreciated!

    TomC Moderator
    #479312

    <em>@rockbox 354579 wrote:</em><blockquote>Thanks Tom, it’s local atm.
    When I host it I’ll send you the url, much appreciated!</blockquote>

    sounds good … I’ll keep an eye out

    rockbox Friend
    #481261
    Ninja Lead Moderator
    #481498

    <em>@rockbox 357191 wrote:</em><blockquote>Hi Tom,
    http://www.rockboxcajon.com/index.php/buy-rockbox

    Hope you can help</blockquote>

    This way will help you out
    <blockquote>Open templates/ja_mero/css/k2.css file</blockquote>
    from

    div.item-meta {
    border-top: 1px solid #ddd
    border-bottom: 1px solid #ddd
    color: #666
    font-size: 11px;
    margin: 0 20px 20px;
    padding: 10px 0;
    }

    change to

    div.item-meta {
    border-top: 1px solid #ddd
    border-bottom: 1px solid #ddd
    color: #666
    font-size: 11px;
    margin: 0 20px 20px;
    padding: 10px 0;
    display:none;
    }

    rockbox Friend
    #482191

    Hi Tom,
    my url is http://www.rockboxcajon.com/

    I’d like to disable K2’s “More in this category” and “Published in”
    see attached jpg snipe

    Hope you can shed some light.

    Regards
    Steve


    1. published-in
    Ninja Lead Moderator
    #482298

    You can do that on this way
    <blockquote>templates/ja_mero/css/k2.css</blockquote>
    from

    div.itemCategory {
    border-bottom: 1px dotted #ccc
    padding: 4px;
    }
    div.itemNavigation {
    border-bottom: 1px solid #E5E5E5
    border-top: 1px solid #E5E5E5
    display: none;
    margin: 0 0 20px;
    padding: 5px 10px;
    }

    change to

    div.itemCategory {
    border-bottom: 1px dotted #ccc
    padding: 4px;
    display: none;
    }
    div.itemNavigation {
    border-bottom: 1px solid #E5E5E5
    border-top: 1px solid #E5E5E5
    margin: 0 0 20px;
    padding: 5px 10px;
    display: none;
    }

Viewing 15 posts - 1 through 15 (of 17 total)

This topic contains 17 replies, has 3 voices, and was last updated by  Ninja Lead 11 years, 3 months ago.

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