header II bg image height
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Sun Mar 09, 2014 3:37 pm
- Reply with quote
- Report this post
I am switching from penguin mail to template mo and try to get the header II image smaller (height of something of 570px) I created a background image in this size but it gets always full height. I tried this:
but then the text display is now too high and I don't know how to position the text in the last third of the picture.
Your help is really appreciated.
- Code: Select all
.custom.gk-header2 {
background: url("../images/header2_bg.jpg") no-repeat scroll center center / cover rgba(0, 0, 0, 0);
padding: 200px 120px;
text-align: center;
}
but then the text display is now too high and I don't know how to position the text in the last third of the picture.
Your help is really appreciated.
-
- Gold Boarder
- GK User
- Mon Mar 10, 2014 7:13 am
- Reply with quote
- Report this post
Could You please post an url to your site?
-
- Moderator
- GK User
- Mon Mar 10, 2014 8:45 am
- Reply with quote
- Report this post
oups!
it's not online and you can find it here: http://ars-dicendi.de/drsandraeversberg/
in the menu item which you can find here: http://ars-dicendi.de/drsandraeversberg/index.php/podcasts-video-blog-sandra-eversberg
I have the same issue and I think the round image (now 250 x 250 px) should be fine in 200 x 200 (which also expand always to the bigger size) and it would be great to have it a little smaller.
Thanks for your help!
it's not online and you can find it here: http://ars-dicendi.de/drsandraeversberg/
in the menu item which you can find here: http://ars-dicendi.de/drsandraeversberg/index.php/podcasts-video-blog-sandra-eversberg
I have the same issue and I think the round image (now 250 x 250 px) should be fine in 200 x 200 (which also expand always to the bigger size) and it would be great to have it a little smaller.
Thanks for your help!
-
- Gold Boarder
- GK User
- Mon Mar 10, 2014 10:22 am
- Reply with quote
- Report this post
Is the css change available on your site?
-
- Moderator
- GK User
- Mon Mar 10, 2014 12:38 pm
- Reply with quote
- Report this post
I am sorry - I don't understand your question.
css is not compressed and I have access via ftp. Is that the answer to your question?
css is not compressed and I have access via ftp. Is that the answer to your question?
-
- Gold Boarder
- GK User
- Tue Mar 11, 2014 10:27 am
- Reply with quote
- Report this post
You have posted some css change but I don't see it on your site.
-
- Moderator
- GK User
- Sat Mar 15, 2014 12:11 pm
- Reply with quote
- Report this post
Please have a look at: http://ars-dicendi.de/drsandraeversberg/index.php/joomla
Normally the image should have a height of : 574px
Where can I change the min-height of more than 700 px
Thanks for your advice
Normally the image should have a height of : 574px
Where can I change the min-height of more than 700 px
Thanks for your advice
-
- Gold Boarder
- GK User
- Sat Mar 15, 2014 12:18 pm
- Reply with quote
- Report this post
When using:
instead of 300px only 200px the image has original size but the font is now too high and I don't find a way to get the font lower.
- Code: Select all
.custom.gk-header2 {
padding: 300px 120px;
text-align: center;
}
instead of 300px only 200px the image has original size but the font is now too high and I don't find a way to get the font lower.
-
- Gold Boarder
- GK User
- Sun Mar 16, 2014 8:46 am
- Reply with quote
- Report this post
I'm having trouble understanding whats the problem.
1. The background image is in "cover" mode - you cant set its height any other way than setting:
height (directly or indirectly).
2. If you would like to mote text a little bit lower, increase top padding and reduce bottom:
1. The background image is in "cover" mode - you cant set its height any other way than setting:
- Code: Select all
.custom.gk-header2
height (directly or indirectly).
2. If you would like to mote text a little bit lower, increase top padding and reduce bottom:
- Code: Select all
.custom.gk-header2 {padding: 350px 120px 250px;}
-
- Moderator
- GK User
- Sun Mar 16, 2014 12:36 pm
- Reply with quote
- Report this post
this is not what I experience:
when I increase padding-top like you said the whole background image increases it's size immediately.
using max-height: 574px; has no effect at all size of image stays as big as it is.
The problem is I can't put important message above the fold as long as the image is that big.
when I increase padding-top like you said the whole background image increases it's size immediately.
using max-height: 574px; has no effect at all size of image stays as big as it is.
The problem is I can't put important message above the fold as long as the image is that big.
-
- Gold Boarder
- GK User
- Mon Mar 17, 2014 9:26 am
- Reply with quote
- Report this post
So reduce top padding and increase bottom. Or reduce both. If the image is in cover mode it will fill entire container. You make container bigger with paddings.
-
- Moderator
- GK User
- Tue Mar 18, 2014 11:30 am
- Reply with quote
- Report this post
Finally I got it! Thanks for your patience.
-
- Gold Boarder
- GK User
- Wed Mar 19, 2014 11:13 am
- Reply with quote
- Report this post
I'm glad you have figured it out
-
- Moderator
13 posts
• Page 1 of 1