Page 1 of 1
Working with Images within a Header
Posted: Tue Jan 21, 2014 7:33 pm
by Mike6580064
How do you vertically AND horizontally center align an image within a header?
Also, every time I add an image to a header--whether it's in a grid or not--there is a great deal of blank space in the top half of the header that I can't get rid of. I want the image to be scaled to fit within the default Appery header size.
Working with Images within a Header
Posted: Tue Jan 21, 2014 7:51 pm
by Kateryna Grynko
Hi Mike,
Could you please tell in detail and post some screenshots? What do you do and what doesn't work?
Working with Images within a Header
Posted: Wed Jan 22, 2014 4:24 pm
by Mike6580064
Original Header
Header after I insert an image (or any component for that matter)
Notice how the header expanded to fit the image but keeps the large upper margin above the image. How can I get rid of this margin so there is an equal amount of space above and below the image?
Thanks,
Mike
Working with Images within a Header
Posted: Wed Jan 22, 2014 6:25 pm
by Maryna Brodina
Hello! Add class for header, for example withoutCaption and use CSS:
pre.withoutCaption h1{
display: none !important;
}/pre
Working with Images within a Header
Posted: Wed Jan 22, 2014 7:01 pm
by Mike6580064