- This topic has 11 replies, 2 voices, and was last updated 8 years, 5 months ago by
Leo.
-
AuthorPosts
-
October 15, 2017 at 2:26 pm #403756
Christoph
Hi, hello,
I have created with sections a leadpage: http://www.antesdelas6.com/eres-un-visionario/
On a desktop PC it looks good. But on mobile/smartphone not.
Any tipps to make it better … perfect ?
October 15, 2017 at 6:34 pm #403850Leo
StaffCustomer SupportHi there,
The content in the first section with the two columns is not responsive as it has set height and width to them:
#ebooktext { width: 505px; height: 900px; background-color: white; padding-top: 10px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; }How are you inserting them?
October 16, 2017 at 9:00 am #404244Christoph
This code is added with SIMPLE CSS at this specific page. No I tried with % like this:
.box { float: left; width: 45%; margin-right: 5%; padding: 20px; background: #eee; box-sizing: border-box; }Desktop PC ok, but reponsive nothing …
October 16, 2017 at 9:27 am #404265Leo
StaffCustomer SupportColumns should be created using one of these methods: https://docs.generatepress.com/article/creating-columns/
October 16, 2017 at 11:21 am #404335Christoph
I LOVE “Using built-in unsemantic grid”, thats easy and cool … GeneratePress rocks … thanks for help :-X
October 16, 2017 at 11:57 am #404364Leo
StaffCustomer SupportNo problem 🙂
December 4, 2017 at 4:45 pm #441710Christoph
Hi, hello,
I am once again with the columns: At the homepage we want 2 images, once next to the other and with the same height, but I can do it:
Homepage: http://www.antesdelas6.com
Should be like this (or with a small padding between)
December 4, 2017 at 7:08 pm #441770Leo
StaffCustomer SupportCan you try using 65 and 35?
December 5, 2017 at 12:27 am #441940Christoph
Ok, 65/35 works, but the height is the same ?
December 5, 2017 at 7:29 am #442220Leo
StaffCustomer SupportUnfortunately you cannot control the height using this grid system.
You can either crop the picture so they are the same height, or Google equal height columns to use Flexbox.
December 5, 2017 at 10:58 am #442449Christoph
The left pic is 552 x 315 px
The right pic is 276 x 315 pxThey has the same height, that’s why I was surprise about how its shown …
December 5, 2017 at 12:52 pm #442550Leo
StaffCustomer SupportThe picture were too big to start with (552 x 315 px) so it is automatically scaled down to 416 x 237 px.
Your overall container width is only 670px so you’d have to play with the numbers some more.
-
AuthorPosts
- You must be logged in to reply to this topic.