[Support request] text and image cropped on category pages

Home Forums Support [Support request] text and image cropped on category pages

Home Forums Support text and image cropped on category pages

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1506535
    Janne

    Hi.
    Have updated to the latest version of the theme. In mobile, the left side of the text in the category page is hidden. It has no space between the two blog post per line. See https://joyofmotioncrochet.com/free-crochet-patterns/.

    Added some css to customize the category page, adding all custom CSS them in the private information. Are some of this css F***ing up my page?

    #1506703
    Leo
    Staff
    Customer Support

    Hi there,

    The issue is likely coming from the CSS you’ve added.

    Can you temporarily comment them out or remove them first?

    #1506849
    Janne

    I know that it is the case. The code have you created, see this support forum thread.
    https://generatepress.com/forums/topic/display-2-column-on-mobile-2/

    #1506858
    Leo
    Staff
    Customer Support

    Did you switch from float to flex? If so that’s the issue.

    Try removing this CSS:

    .generate-columns-activated .generate-columns-container {
        margin-left: -40px;
    }
    #1506870
    Janne

    It is now visible, thanks. But the two columns is not centered. Is it possible to do that?

    I have not changed from floats to flexbox btw.

    #1507103
    Leo
    Staff
    Customer Support

    Hmm that’s strange.

    Can you add back the CSS I asked to remove previously then turn off Autopimize and any other caching plugins you are using so I can take a closer look?

    Let me know ๐Ÿ™‚

    #1507527
    Janne

    Have now added the code and turned off “Optimize CSS Code?” in Autoptimize.

    #1508189
    Leo
    Staff
    Customer Support

    Sorry the source code is still showing up quite weird on your site.

    Can you turn off Autopimize (not just a setting) and any other caching related plugin?

    #1508252
    Janne

    There are Autoptimize disabled.

    #1508302
    Leo
    Staff
    Customer Support

    That’s super strange.

    When I test using the browser inspector tool and remove this CSS only:

    .generate-columns-activated .generate-columns-container {
        margin-left: -40px;
    }

    It should look like this and not make it off-centered:
    https://www.screencast.com/t/CWW3aAhcSkT

    I couldn’t quite inspect the code last time because of Autopimize though. Can you remove that code again so I can take a closer look?

    Sorry for the back and forth. We will get there ๐Ÿ™‚

    #1508353
    Janne

    It’s working now. Don’t know what happened before. Can you help me get some air between the two blog posts as well?

    #1508598
    Leo
    Staff
    Customer Support

    Ahh I see what’s going on now.

    Add this back again:

    .generate-columns-activated .generate-columns-container {
        margin-left: -40px;
    }

    Then edit this:

    .generate-columns-container>* {
        padding-left: 40px;
    }

    to this:

    .generate-columns-container>* {
        padding-left: 40px !important;
    }
    #1510289
    Janne

    It is air now, thanks. But the title is not taking the full width as the image. Is that possible?

    #1511365
    Leo
    Staff
    Customer Support

    But the title is not taking the full width as the image. Is that possible?

    Isn’t that always the case? I don’t think that changed at all.

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