Quark, main page, cut out picture

Support desk for Multipurpose Quark Theme
GK User
Tue Aug 29, 2017 10:20 pm
Hi,
how can i put picture in module on position mainbody as full page module background.
Now it depends on screen resolution. Once the picture is in full on the other screen its cut out.

https://nosamurai.com/en/
Picture with box and text "new stuff".
User avatar
Junior Boarder

teitbite
Wed Aug 30, 2017 1:12 pm
Hi

I'm afraid it will not be that simple if You will use this image as background. There are many available screen sizes, so it will require a lot of additional styling to be prepared for all of them.

What I would suggest is to use it as an image added with custom html module, so the height of the module will always wrap around the image.
User avatar
Moderator

GK User
Wed Aug 30, 2017 10:15 pm
OK, i did.
Same situation.
<img src="/images/dnns_www/dnns_header_newstuff.jpg" alt="" />

It works only on header position (module).
User avatar
Junior Boarder

teitbite
Wed Sep 06, 2017 6:54 am
Hi

Do You mean it's not possible to add an image to a module ? I do not understand.

You question was about the image with NEW STUFF text on it. It's located in mainbody module position and works fine, just needs a small adjustment in override.css

Code: Select all
#gkMainbody img {
max-width: 100%;
}
User avatar
Moderator


cron