-
AuthorPosts
-
May 1, 2017 at 9:35 pm #1030124
I’am creating a website usuin ja simply (test.albinism.eu)
I selected a background-image for header in template configuration and i´d like it to be centered, responsive and not repeated. Is it posible? How to do it?
Thanks in advance.
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 2, 2017 at 2:50 am #1030172Hi
Add below code in custom.css file to put the image responsive and no repeat#header { background-size: cover; background-repeat: no-repeat; }repalce cover wiith 100% if you want to resize image with respect to container size.
RegardsMay 2, 2017 at 7:50 am #1030232Thank you very much
As you indicated I did the modifications using background-size: 100%; And works perfectly.
Would it be posiblke that both the logo and the height of the header also fit?Regards
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 3, 2017 at 2:59 am #1030533Hi
Logo already using the max width and height you can add a big size logo to increase the background image height of logo.Regards
December 30, 2017 at 3:31 pm #1083932Hi,
I tried this change with no success, making the chance in the file named:
"/templates/ja_simpli/csscustom-styles.tpl.css" – is this the correct file to fill in the changes?
Weeks ago the header-paremeters (custom-logo, width, height) were filled in and stored – could this result the disfunktion?
I also tried to create a custom.css with the code above – also no success.
Thanks – and best wishes for the New Year!December 31, 2017 at 1:52 pm #1084007Have found my mistake – just mixed background-picture <-> logo. Sorry.
Thanks for your work!
Regards and again best wishes for 2018!
Pankaj Sharma
Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 2, 2018 at 1:38 am #1084148You are welcome!
Happy New Year -
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by
Pankaj Sharma 7 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum