- This topic has 15 replies, 2 voices, and was last updated 3 years, 10 months ago by
Leo.
-
AuthorPosts
-
May 28, 2017 at 4:19 pm #325330
tjs198
I know this is probably easy to do but I can’t figure it out and couldn’t find any related articles.
I’m creating a separate page with sections as a landing page for an online course. How do I format the content section to be smaller (only ~700px wide)?
I tried simple Css but that messes up the background color. trying to recreate this: http://courses.52kards.com/p/the-foundations-of-card-magic
any help would be appreciated?
May 28, 2017 at 5:52 pm #325358Leo
StaffCustomer SupportHi there,
So basically you want that page to have different container width than the rest of the website?
If yes then you can either add this CSS to the Simple CSS metabox of that page:
.generate-sections-container .grid-container.grid-parent { max-width: 700px; }
Or find the page ID then use this CSS in the global CSS editor:
.page-id-xx .generate-sections-container .generate-sections-container .grid-container.grid-parent { max-width: 700px; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 28, 2017 at 6:46 pm #325364tjs198
didn’t work for CSS to the Simple metabox on the page – still the same width. even tried changing it to 400 px to make sure. any other ideas?
May 28, 2017 at 6:47 pm #325365Leo
StaffCustomer SupportHmm it should…Can you link me to the page?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 28, 2017 at 6:48 pm #325366tjs198
got these warnings:
Warning: stripos() expects parameter 1 to be string, array given in /home2/thearvc9/public_html/wp-content/plugins/jetpack/modules/shortcodes/class.filter-embedded-html-objects.php on line 92
Warning: stripos() expects parameter 1 to be string, array given in /home2/thearvc9/public_html/wp-content/plugins/jetpack/modules/shortcodes/class.filter-embedded-html-objects.php on line 98
May 28, 2017 at 6:49 pm #325367May 28, 2017 at 6:59 pm #325368Leo
StaffCustomer SupportCSS shouldn’t give you errors like that.
Can you try clearing or delete W3 Total Cache?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 28, 2017 at 7:03 pm #325371tjs198
W3 total cache deleted
May 28, 2017 at 7:05 pm #325372tjs198
same error messages at simple css
May 28, 2017 at 7:07 pm #325375Leo
StaffCustomer SupportWhat version of GP premium are you using? Can you try updating to the most recent one?
Then the code should work.
Not sure about the error message, it’s causing by something else. Can you try disabling Jetpack for now?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 28, 2017 at 7:13 pm #325377tjs198
GP Premium Version 1.2.94
disabled jetpack – still no go.
i’ll try the page id & global css
May 28, 2017 at 7:15 pm #325378Leo
StaffCustomer SupportHmm I edited the code a bit above. Can you give it another shot?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 28, 2017 at 7:15 pm #325379tjs198
page id & global css didn’t work either
May 28, 2017 at 7:19 pm #325380Leo
StaffCustomer SupportI edited the code here: https://generatepress.com/forums/topic/separate-page-format/#post-325358
Can you give it another shot and clear cache as well? Thanks 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 28, 2017 at 7:21 pm #325381tjs198
that did it – thanks so much!
-
AuthorPosts
- You must be logged in to reply to this topic.