error in CSS ?
Advanced and professional portal news Joomla template with community features and various content display layouts.
- GK User
- Sun Mar 18, 2012 7:49 pm
hello
background is not displayed in the block "archive"
I can not find the cause
Help me please
Example of a block
http://gazeta-nedelya.info/religiya
background is not displayed in the block "archive"
I can not find the cause
Help me please
Example of a block
http://gazeta-nedelya.info/religiya
-

- Fresh Boarder
- GK User
- Mon Mar 19, 2012 12:23 am
Hi
Please open the following file:
../css/k2.css
and find this fragment:
replace with
This will be added on next update.
Cheers
Please open the following file:
../css/k2.css
and find this fragment:
- Code: Select all
/* --- Category List/Menu --- */
.k2CategoriesListBlock ul.level0 li { margin: 5px 0; padding: 4px 16px 4px 28px; border: 1px solid #e1e1e1; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; line-height: 24px; font-size: 10px; text-transform: uppercase; font-weight:bold; text-shadow: 0 1px #fff; background: #f9f9f9 url('../images/menu_bullet.png') no-repeat 12px 14px!important }
.k2CategoriesListBlock ul.level0 li li { text-indent: 0; line-height: 2.6; padding-left: 12px; background: #eee !important }
.k2CategoriesListBlock ul.level0 li.active a,
.k2CategoriesListBlock ul.level0 li#current.parent.active a { color: #cb260a; }
.k2CategoriesListBlock ul.level0 li a:hover,
.k2CategoriesListBlock ul.level0 li#current li a:hover { color: #cb260a; text-decoration: underline; }
.k2CategoriesListBlock ul.level0 > li ul { margin: 0 -4px 0 -16px; padding: 0; }
replace with
- Code: Select all
/* --- Category & Archive List/Menu --- */
.k2CategoriesListBlock ul.level0 li,
.k2ArchivesBlock ul li{ margin: 5px 0; padding: 4px 16px 4px 28px; border: 1px solid #e1e1e1; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; line-height: 24px; font-size: 10px; text-transform: uppercase; font-weight:bold; text-shadow: 0 1px #fff; background: #f9f9f9 url('../images/menu_bullet.png') no-repeat 12px 14px!important }
.k2CategoriesListBlock ul.level0 li li,
.k2ArchivesBlock ul li li { text-indent: 0; line-height: 2.6; padding-left: 12px; background: #eee !important }
.k2CategoriesListBlock ul.level0 li.active a,
.k2CategoriesListBlock ul.level0 li#current.parent.active a,
.k2ArchivesBlock ul li.active a,
.k2ArchivesBlock ul li#current.parent.active a { color: #cb260a; }
.k2CategoriesListBlock ul.level0 li a:hover,
.k2CategoriesListBlock ul.level0 li#current li a:hover,
.k2ArchivesBlock ul li a:hover,
.k2ArchivesBlock ul li#current li a:hover { color: #cb260a; text-decoration: underline; }
.k2CategoriesListBlock ul.level0 > li ul,
.k2ArchivesBlock ul > li ul { margin: 0 -4px 0 -16px; padding: 0; }
This will be added on next update.
Cheers
-

- Platinum Boarder
- GK User
- Mon Mar 19, 2012 1:41 am
Thank you )))
I found another in file:
../css/k2.css
this fragment:
no margin from the left edges.
I wrote "margin:0 0 12px 90px; "
I found another in file:
../css/k2.css
this fragment:
- Code: Select all
.itemHeader .itemTitle { font-size: 40px; line-height:100%; margin:0 0 12px; padding:0; color: #1a1a1a }
no margin from the left edges.
I wrote "margin:0 0 12px 90px; "
-

- Fresh Boarder
3 posts
• Page 1 of 1
