[Support request] CSS not working

Home Forums Support [Support request] CSS not working

Home Forums Support CSS not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #405040
    George

    I have used the following code on one of my sites, and it works fine:
    /*remove navigation links below posts*/
    .post-navigation {
    display: none;
    }

    /*hide date on comments*/
    .comment-metadata {
    display: none;
    }

    Now I added the same code in the Simple CSS area on another website, and it doesn’t work. No idea why. I cleared cash and cookies- doesn’t help. Can you take a look please. This is one of the pages on the site:
    https://www.staging10.shamakern.com/how-to-cook-traditional-thai-sweets-village-style/

    #405148
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like it’s working to me?

    I don’t see the paging navigation on that page: https://s1.postimg.org/3tf5vegx27/2017-10-17_1238.png

    Let me know.

    #405325
    George

    Not working: bottom navigation is still there:
    navigation

    Post date is still showing:
    date

    #405368
    Tom
    Lead Developer
    Lead Developer

    There’s an option to remove that in GPP 1.5, which is currently in beta: https://generatepress.com/gp-premium-1-5-alphabeta/

    If that CSS isn’t working, it’s likely there’s a syntax error in the CSS above it. You can test by adding it to the top of your custom CSS.

    #405977
    George

    I tried putting it on top of the other CSS, but it still doesn’t work. This is strange, since I used the exact same code for another website which also uses GP, and it works just fine. Any ideas?
    Do you have an approximate release date for GPP 1.5?

    #406035
    Tom
    Lead Developer
    Lead Developer

    This is the page where it’s not working?: https://www.staging10.shamakern.com/how-to-cook-traditional-thai-sweets-village-style/

    If so, it looks like it’s working now – I see the CSS, and the post navigation is hidden. Maybe try clearing your browser cache?

    #406229
    George

    Too weird, I tried it in two browsers, cleared cache in both of them, and the CSS is not working. But you say it is working at your end. Now I am really confused how this is possible.
    As you can see, the post date is still there – after I cleared cache:
    https://www.screencast.com/t/v8EYjrmg

    #406363
    Leo
    Staff
    Customer Support

    But you didn’t add the CSS to hide the date?

    .entry-header .entry-meta {
        display: none;
    }
    #406392
    George

    I used this CSS which worked perfectly on another website:
    /*remove navigation links below posts*/
    .post-navigation {
    display: none;
    }

    /*hide date on comments*/
    .comment-metadata {
    display: none;
    }

    Now I added the CSS which you just gave me, and it works! Any reason why
    .comment-metadata {
    display: none;
    }
    is not working, and should I delete this?

    And do you have another CSS to get rid of the post navigation at the bottom?

    Do you have an ETA for the stable version of GPP 1.5 which will eliminate the need for this CSS according to Tom?

    #406442
    Leo
    Staff
    Customer Support

    That only hides the date on comment I think.

    The date, author and tag links can already be removed using the customizer options:
    https://docs.generatepress.com/article/blog-overview/#blog-content

    The only one that’s not there is the post navigation which will be added in next version.

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