Article Layout

GK User
Sun Apr 26, 2015 2:11 pm
I am quite confused. Here is my article layout direct from the menu: http://tobefollowed.com/portfolio
How do I get rid of the white space on top? Even if I use a header the white space will be there.
User avatar
Junior Boarder

GK User
Sun Apr 26, 2015 3:09 pm
Hi,
it's becuase you don't have main image there.
But use this:
Code: Select all
.header.no-image {height: 0;}

and will be fixed in all places where you don't have main image.

In template settings there is a field for custom css code :mrgreen:
User avatar
Platinum Boarder

GK User
Sun Apr 26, 2015 11:24 pm
Fixed. Thanks!
User avatar
Junior Boarder

GK User
Mon Apr 27, 2015 5:00 pm
I don't want to use a body image in all articles. So how do you remove the space if you don't want to use the body image?

http://tobefollowed.com/portfolio

Thanks.
User avatar
Junior Boarder

GK User
Tue Apr 28, 2015 5:30 am
customcss.jpg

Somehow this didn't work: http://tobefollowed.com/services/web-design


Please help
User avatar
Junior Boarder

GK User
Thu Apr 30, 2015 7:44 am
Remove first line
User avatar
Platinum Boarder

GK User
Thu Apr 30, 2015 2:20 pm
As I mentioned. I already corrected it but the problem remains: http://tobefollowed.com/portfolio
User avatar
Junior Boarder

GK User
Thu Apr 30, 2015 4:59 pm
where is my code? .header.no-image {.... , hmm ? How can I help you, if you do not listen to me :S :whistle:
User avatar
Platinum Boarder

GK User
Thu Apr 30, 2015 5:17 pm
code.jpg


Here it is! I appreciate your help.
User avatar
Junior Boarder

GK User
Thu Apr 30, 2015 6:42 pm
The layout is better now but the image space is still there.

http://tobefollowed.com/services/web-design
User avatar
Junior Boarder

GK User
Fri May 01, 2015 4:40 pm
Aaaa yes, because our developer added !important value for height inside k2.css (no comments). And my code worked for default articles as I saw at the beginning.
So you have to use this:
.header.no-image { display: none;}
This time will be okey, I promise.

BTW
Are you sure that you have to use K2? It only slow your site and you will get spam users.
User avatar
Platinum Boarder

GK User
Fri May 01, 2015 4:53 pm
Yes! That worked. Thanks so much!

No, I am not using K2 at all. Got rid of it a long LONG time ago.
User avatar
Junior Boarder


cron