- This topic has 9 replies, 3 voices, and was last updated 6 years, 5 months ago by
Tom.
-
AuthorPosts
-
September 18, 2019 at 12:02 pm #1012946
Teresa
I’d create a section and entered the following HTML code:
<div class="grid-35 mobile-grid-100 grid-parent"> <div class="grid-20 mobile-grid-20"><img class="alignnone size-full wp-image-119" src="http://localhost/site/wp-content/uploads/2019/09/Image.png" alt="" width="64" height="60" /></div> <div class="grid-80 mobile-grid-80"> <h3 class="font-weight-light">Title</h3> Text </div> </div>On desktop the layout is ok, but in mobile mode the “mobile-grid-20” gets 100% of the width.
September 18, 2019 at 2:09 pm #1013028Leo
StaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know 🙂
September 19, 2019 at 5:33 am #1013436Teresa
The site is in development in my localhost. Here is exactly how I am doing:
Section —–
Box type = Full width
Inner box type = contained
Custom classes = grid-parent
Top/bottom padding = 40px
Background color = #ecf2fe
Background image = yesInside section —–
Problem = all 20% divs are getting 100% in mobile displayHTML code = `<div class=”grid-35 mobile-grid-100 grid-parent”>
<div class=”grid-20 mobile-grid-20″><img class=”alignnone size-full wp-image-119″ src=”http://localhost/site/wp-content/uploads/2019/09/Image-1.png” alt=”” width=”64″ height=”60″ /></div>
<div class=”grid-80 mobile-grid-80″>
<h3 class=”font-weight-light”>Title 1</h3>
Text</div>
<div class=”grid-20 mobile-grid-20″><img class=”alignnone wp-image-121 size-full” src=”http://localhost/site/wp-content/uploads/2019/09/Image-2.png” alt=”” width=”64″ height=”64″ /></div>
<div class=”grid-80 mobile-grid-80″>
<h3 class=”font-weight-light”>Title 2</h3>
Text</div>
</div>
<div class=”grid-30 mobile-grid-100 mobile-pull-100″><img class=”alignnone wp-image-97 size-full” src=”http://localhost/site/wp-content/uploads/2019/09/highlight.png” alt=”” width=”555″ height=”727″ /></div>
<div class=”grid-35 mobile-grid-100 grid-parent text-right”>
<div class=”grid-80 mobile-grid-80″>
<h3 class=”font-weight-light”>Title 3</h3>
Text</div>
<div class=”grid-20 mobile-grid-20 mobile-pull-80″><img class=”alignnone wp-image-122 size-full” src=”http://localhost/site/wp-content/uploads/2019/09/Image-3.png” alt=”” width=”51″ height=”66″ /></div>
<div class=”grid-80 mobile-grid-80″>
<h3 class=”font-weight-light”>Title 4</h3>
Text</div>
<div class=”grid-20 mobile-grid-20 mobile-pull-80″><img class=”alignnone wp-image-120 size-full” src=”http://localhost/site/wp-content/uploads/2019/09/Image-4.png” alt=”” width=”50″ height=”64″ /></div>
</div>`September 19, 2019 at 9:12 am #1013729Leo
StaffCustomer SupportIt’s really identify the problem without seeing the site live.
Any chance you can duplicate it on a live server or revisit this issue once we have something live to look at?
Appreciate it 🙂
September 19, 2019 at 11:09 am #1013873Teresa
I’ll do it by Monday. Thanks!
September 19, 2019 at 4:43 pm #1014031Leo
StaffCustomer SupportSounds good.
I’ll also mention that using the grid system is the old method and should be phased out soon.
It might be easier using the Flexbox method similar to the example mentioned in this article:
https://docs.generatepress.com/article/split-header-three-sections/October 9, 2019 at 8:01 am #1030380Teresa
Hi Leo! Sorry for the delay, but I had some problems and needed to be out for a while. I finally have the development website up and running. Can you see what is wrong?
Also, in the “about reselling” section, “prefix” and “suffix” are not working.
October 9, 2019 at 7:18 pm #1030826Tom
Lead DeveloperLead DeveloperHi there,
Our combined CSS option loads a light version of the grid framework, which only contains classes the theme needs.
If you need all of the classes, try going to “Customize > General” and uncheck the “Combine CSS” option.
Let me know 🙂
November 5, 2019 at 6:44 am #1053802Teresa
Hi Tom! Thank you a lot for your help! that did all the trick! Now all sufix/push/pull stuff are working.
November 5, 2019 at 9:13 am #1054076Tom
Lead DeveloperLead DeveloperNo problem! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.