[Resolved] Separate Page Format

Home Forums Support [Resolved] Separate Page Format

Home Forums Support Separate Page Format

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #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?

    #325358
    Leo
    Staff
    Customer Support

    Hi 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.

    #325364
    tjs198

    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?

    #325365
    Leo
    Staff
    Customer Support

    Hmm it should…Can you link me to the page?

    #325366
    tjs198

    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

    #325367
    tjs198
    #325368
    Leo
    Staff
    Customer Support

    CSS shouldn’t give you errors like that.

    Can you try clearing or delete W3 Total Cache?

    #325371
    tjs198

    W3 total cache deleted

    #325372
    tjs198

    same error messages at simple css

    #325375
    Leo
    Staff
    Customer Support

    What 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?

    #325377
    tjs198

    GP Premium Version 1.2.94

    disabled jetpack – still no go.

    i’ll try the page id & global css

    #325378
    Leo
    Staff
    Customer Support

    Hmm I edited the code a bit above. Can you give it another shot?

    #325379
    tjs198

    page id & global css didn’t work either

    #325380
    Leo
    Staff
    Customer Support

    I 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 🙂

    #325381
    tjs198

    that did it – thanks so much!

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.