- This topic has 11 replies, 2 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
February 19, 2019 at 11:51 pm #815164
Tom Snelders
Hi,
Just a short one, how can I create a header(not squire) like the site library BhambrBland Awaken?
Is the red background behind the phone just a background image? What size should this background then need to have, and how do I need to set it up?
Thanks,
TomGeneratePress 2.2.2February 20, 2019 at 2:55 am #815289David
StaffCustomer SupportHi there,
like your own site it is using a GP Header Element:
https://docs.generatepress.com/article/header-element-overview/
The red background image is just a background image set in the header element.
The content e.g the phone, in the case of Awaken is Elementor added by way of a short code in the header element.It really shouldn’t be no different to how you have your current site set-up.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 5:20 am #815404Tom Snelders
And what pixel size(width and height) should you advice for such a background?
February 20, 2019 at 5:39 am #815414David
StaffCustomer SupportAwaken is only using a 960px width image, which ‘works’ for that image.
I am more inclined to use a 1600px+ wide image for full width header background images.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 7:07 am #815618Tom Snelders
I’m testing out something like a curved header.
https://web-creations.nl/test/
Are able to explane why there is a thin line below the header?
February 20, 2019 at 7:14 am #815630David
StaffCustomer SupportCheck in the Header Element and set the background color to 100% transparent.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 8:16 am #815696Tom Snelders
Looks nice now, only the curved line is not perfect yet.
And the background from this header looks a little weird on my iphone.
Thanks for the help again.
February 20, 2019 at 8:36 am #815717David
StaffCustomer SupportYou’re welcome.
You may want to investigate using SVG’s and how they can be absolutely positioned.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 9:58 am #815795Tom Snelders
What do you mean by SVG’s.
Have you got manuals?
February 20, 2019 at 10:08 am #815807David
StaffCustomer SupportSVG’s are scalable vector graphics which are creating using Adobe Illustrator or your chosen vector design tool. To use them in WordPress requires a plugin:
https://en-gb.wordpress.org/plugins/svg-support/
This solely allows you to upload them as normal media attachments. As WP blocks them by default.
Theres a lot of tutorials if you google SVG in webdesign. This article covers some of the basics.
https://torquemag.io/2017/09/scalable-vector-graphics-wordpress/Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 10:57 am #815855Tom Snelders
Thanks David,
New stuff to learn and to become a better webdesigner.
Love it!
CheerzFebruary 20, 2019 at 11:39 am #815898David
StaffCustomer SupportGlad to be of help 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.