Remove K2 Item Header Image and Space

GK User
Sat Aug 13, 2016 11:16 pm
Hello,

I was able to turn off the item image in K2's settings, but the template is still holding a place for it. How do I remove this header space?

You see the gray area in the attached image. I'd like the background to be white (FFFFFF) and the space taken away.

Screen Shot 2016-08-13 at 6.13.11 PM.png


Thank you for all your help
User avatar
Senior Boarder

GK User
Sun Aug 14, 2016 12:12 am
I was able to fix this on desktops, but can't find the right override code for all other devices.

I used
Code: Select all
.single-page > .header.no-image {
  background:#FFFFFF !important;
  height:25px !important;
}


Is that correct? How to make it the same for all other devices
User avatar
Senior Boarder

teitbite
Sun Aug 14, 2016 11:30 am
Hi

To be honest I do not know if its correct. Can You please tell me the url to the page where I'll be bale to see an example of article where this code is used ?
User avatar
Moderator

GK User
Sun Aug 14, 2016 1:58 pm
User avatar
Senior Boarder

teitbite
Thu Aug 18, 2016 2:24 pm
Hi

In fact this is how header was designed to look like when there is no image, so please tell me how You wish this to looks like and I'll provide a code to change it.

The little space left for image can be reduced by adding this code to override.css (make sure override is enabled in template configuration):

Code: Select all
.single-page > .header.no-image {
    height: 0 !important;
}
User avatar
Moderator


cron