-
AuthorPosts
-
July 6, 2015 at 12:42 pm #208337
Where on the css file could I reduce the line spacing in the category items in Jadirectory. The listing is quite large and I desperately want to reduce the line spacing to contain all the items. Kindly view the attached file. Thanks.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 7, 2015 at 5:11 am #576579Try to create templates/ja_directory/css/custom.css file and add new rule
.t3-section .k2CategoriesListBlock .level0 > li ul {
margin: 26px 0 0;
}div.k2CategoriesListBlock ul li a {
margin: 13px 0;
}Then change to the value which suits your need.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 7, 2015 at 5:11 am #642892Try to create templates/ja_directory/css/custom.css file and add new rule
.t3-section .k2CategoriesListBlock .level0 > li ul {
margin: 26px 0 0;
}div.k2CategoriesListBlock ul li a {
margin: 13px 0;
}Then change to the value which suits your need.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 7, 2015 at 5:11 am #741549Try to create templates/ja_directory/css/custom.css file and add new rule
.t3-section .k2CategoriesListBlock .level0 > li ul {
margin: 26px 0 0;
}div.k2CategoriesListBlock ul li a {
margin: 13px 0;
}Then change to the value which suits your need.
July 7, 2015 at 3:17 pm #576622I have created the custom css file in /templates/ja_directory/css/custom.css applied the code without any changes and uploaded it accordingly. However the spacing did not change at all. Any clues how else I can achieve that. Thanks
July 7, 2015 at 3:17 pm #642935I have created the custom css file in /templates/ja_directory/css/custom.css applied the code without any changes and uploaded it accordingly. However the spacing did not change at all. Any clues how else I can achieve that. Thanks
July 7, 2015 at 3:17 pm #741592I have created the custom css file in /templates/ja_directory/css/custom.css applied the code without any changes and uploaded it accordingly. However the spacing did not change at all. Any clues how else I can achieve that. Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 8, 2015 at 5:17 am #576685<em>@winbelltrade 481708 wrote:</em><blockquote>I have created the custom css file in /templates/ja_directory/css/custom.css applied the code without any changes and uploaded it accordingly. However the spacing did not change at all. Any clues how else I can achieve that. Thanks</blockquote>
I need to check this bug directly on your site, you can pm me URL of your site and admin login backend site.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 9, 2015 at 7:51 am #576805<em>@winbelltrade 481549 wrote:</em><blockquote>Where on the css file could I reduce the line spacing in the category items in Jadirectory. The listing is quite large and I desperately want to reduce the line spacing to contain all the items. Kindly view the attached file. Thanks.</blockquote>
I reduced the spacing from in the category items on your site from custom.css file and you can change the value in red text below to your desired value
div.k2CategoriesListBlock ul li a {
margin: 5px 0 !important;
}.t3-section .k2CategoriesListBlock .level0 > li ul {
margin: 15px 0 0 !important;
}.t3-section .k2CategoriesListBlock .level0 > li > a {
padding-bottom: 8px !important;
}
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 9, 2015 at 7:51 am #643118<em>@winbelltrade 481549 wrote:</em><blockquote>Where on the css file could I reduce the line spacing in the category items in Jadirectory. The listing is quite large and I desperately want to reduce the line spacing to contain all the items. Kindly view the attached file. Thanks.</blockquote>
I reduced the spacing from in the category items on your site from custom.css file and you can change the value in red text below to your desired value
div.k2CategoriesListBlock ul li a {
margin: 5px 0 !important;
}.t3-section .k2CategoriesListBlock .level0 > li ul {
margin: 15px 0 0 !important;
}.t3-section .k2CategoriesListBlock .level0 > li > a {
padding-bottom: 8px !important;
}
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 9, 2015 at 7:51 am #741774<em>@winbelltrade 481549 wrote:</em><blockquote>Where on the css file could I reduce the line spacing in the category items in Jadirectory. The listing is quite large and I desperately want to reduce the line spacing to contain all the items. Kindly view the attached file. Thanks.</blockquote>
I reduced the spacing from in the category items on your site from custom.css file and you can change the value in red text below to your desired value
div.k2CategoriesListBlock ul li a {
margin: 5px 0 !important;
}.t3-section .k2CategoriesListBlock .level0 > li ul {
margin: 15px 0 0 !important;
}.t3-section .k2CategoriesListBlock .level0 > li > a {
padding-bottom: 8px !important;
}
July 14, 2015 at 9:47 pm #577413I have applied the code severally but the spacing does not reduce to single line. Any assistance will be very welcome. The spaces marked with red lines need to be reduced.
July 14, 2015 at 9:47 pm #643710I have applied the code severally but the spacing does not reduce to single line. Any assistance will be very welcome. The spaces marked with red lines need to be reduced.
July 14, 2015 at 9:47 pm #742357I have applied the code severally but the spacing does not reduce to single line. Any assistance will be very welcome. The spaces marked with red lines need to be reduced.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 15, 2015 at 4:27 am #577448Look at the both images below, before and after to fix the spacing of CategoriesList on your site
+ Before
+ After
-
AuthorPosts
This topic contains 17 replies, has 2 voices, and was last updated by Ninja Lead 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum