-
AuthorPosts
-
rockbox Friend
rockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 9, 2013 at 2:28 am #183792I’d like to disable K2’s “More in this category” and “Published in”
Hope someone can help, thanks in advance.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2013 at 10:12 pm #479170Looking 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 Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 10, 2013 at 2:12 am #479181Thanks 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 10, 2013 at 2:14 am #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 Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 10, 2013 at 2:21 am #479184Yeah 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 Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 10, 2013 at 2:47 am #479191Actually, 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.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 10, 2013 at 3:28 am #479197rockbox Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 10, 2013 at 4:39 am #479210Hi Tom,
I did add the property “display: none;” to the CSS rule the first time, did it again with same result.
See imageI’ve double checked your instructions, but I must be doing something wrong??
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
rockbox Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 10, 2013 at 9:24 pm #479311Thanks Tom, it’s local atm.
When I host it I’ll send you the url, much appreciated!TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 10, 2013 at 9:25 pm #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 Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
January 28, 2013 at 3:00 am #481261Hi Tom,
http://www.rockboxcajon.com/index.php/buy-rockboxHope you can help
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 29, 2013 at 9:56 am #481498<em>@rockbox 357191 wrote:</em><blockquote>Hi Tom,
http://www.rockboxcajon.com/index.php/buy-rockboxHope 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;
}1 user says Thank You to Ninja Lead for this useful post
rockbox Friendrockbox
- Join date:
- October 2011
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 2 times in 1 posts
February 2, 2013 at 11:42 pm #482191Hi 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 snipeHope you can shed some light.
Regards
Steve
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 4, 2013 at 8:14 am #482298You 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;
}AuthorPostsThis topic contains 17 replies, has 3 voices, and was last updated by Ninja Lead 11 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum