Site logo

[Support request] Different banner for inside pages

Home Forums Support [Support request] Different banner for inside pages

Home Forums Support Different banner for inside pages

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #2485352
    Fernando
    Customer Support

    I see. You would need to add that Banner differently if you want it to become a link.

    For reference, do you have GenerateBlocks Pro?

    #2485454
    Kris

    I would want it to become a link.

    #2485475
    Fernando
    Customer Support

    Create two Hook Elements.

    Hook Element #1:

    Add this code:

    <a href="https://socialmediarevolver.com">

    Set the hook to:

    generate_before_header

    Hook Element #2:

    Add this code:

    </a>

    Set the hook to:

    generate_after_header

    Set the display rule location for both as you prefer. Ideally – Entire site.

    #2485496
    Kris

    OK thanks. Where does https://socialmediarevolver.com go?

    #2485499
    Fernando
    Customer Support

    I edited the code above and added your URL. Can you try that?

    #2485518
    Kris

    Works like a charm! Thanks Fernando!

    What about this one: seems that my widescreen featured images are being squeezed into a square in a mobile view.
    Can we fix this, or do I need a separate mobile plugin? https://i.postimg.cc/0yzjNgpm/mobileview.jpg

    #2485562
    Fernando
    Customer Support

    Can you first temporarily disable Autoptimize so we can have a clearer look? I’ll check what needs to be done or if you would need another plugin.

    #2485576
    Kris

    Yep, done!

    #2485586
    Fernando
    Customer Support

    Can you try adding this through Appearance > Customize > Additional CSS?:

    body:is(.blog, .archive) .post-image img.wp-post-image {
        object-fit:contain;
        height:auto;
    }
    #2485596
    Kris

    You’re a wizard, Fernando! Thank you 🙂

    #2485608
    Fernando
    Customer Support

    You’re welcome, Kris! 🙂

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