New Landing How can we help? Cardinal The mail link and the social icon links do not work in my top bar

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Cardinal
  • #230930
    RHR
    Member
    Post count: 42

    Hi, I have added a top bar and it has text with a mailto link and social icons. None of these link out. Is there something I’ve set incorrectly? Thanks.

    #230939
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Looks to be a z-index issue.

    Please add this and test the page:

    ul.social-icons li:not(.sf-love) a {
        z-index: 9999;
    }

    Thanks,
    David.

    #230942
    RHR
    Member
    Post count: 42

    Hi David

    That’s worked great for the social icons, but my email link isn’t working. Any ideas on that?

    While you’re looking, can you see why I have white border to the right of my slider half way down the Home page – it only shows on Safari, it’s not there in Firefox or Chrome.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #230948
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Same issue again it is the z-index. The line is a background, caused by a negative slider margin.

    #top-bar .tb-text > a, 
    #top-bar nav .menu > li > a {
        z-index: 9999;
        position: relative;
    }
    
    .home .swift-slider {
    background: transparent;
    }

    Thanks,
    David.

    #230961
    RHR
    Member
    Post count: 42

    Hi, thank you so much. We’re nearly there.

    This seems to have resolved everything in Safari and Chrome, but in Firefox, the background of the top bar now disappears when you scroll. Can you find a way round this, please?

    Thank you.

    #230963
    David Martin – Support
    Moderator
    Post count: 20834

    That is the z-index.

    Ex:

    #top-bar {
        z-index: 9999;
        position: relative;
    }

    Thanks,
    David

    #230967
    RHR
    Member
    Post count: 42

    Thank you, that is great.

    Can I ask you one more question, please?

    Is it possible to reduce the size of the images on the blog page and on the post detail pages?

    Thank you.

    #230968
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, you can use CSS to reduce the % width. Ex:

    .blog-item figure img {
        max-width: 60%;
        margin: 0 auto;
    }

    Thanks,
    David

    #230971
    RHR
    Member
    Post count: 42

    Thank you. And what about the image in the detail page? Is is possible to reduce this too?

    Thank you.

    #230972
    David Martin – Support
    Moderator
    Post count: 20834

    Hi, you would use the same CSS but with a different selector. If you know HTML/CSS you can use the chrome web inspector to look these up on the page.

    Ex:

    article.post figure.media-wrap, 
    article.post .content-wrap, article.attachment .content-wrap {
        max-width: 60%;
        margin: 0 auto 60px auto;
    }

    Thanks,
    David.

    #230976
    RHR
    Member
    Post count: 42

    Hi, I really appreciate your help. Although I can usually work most CSS out from inspecting the source code, I thought maybe there was a setting within the theme for that. That worked great.

    Finally, now I have a reduced image for each post on the blog page, when you hover over them the hover box is the original size and looks wrong. I’ve tried adding in the CSS for this, but I’m afraid I can’t work it out. Back over to you, please.

    #230983
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Use this:

    .blog-item figure {
      max-width: 60%;
    }

    Basically remove the img from the previous css

    – Kyle

    #230984
    David Martin – Support
    Moderator
    Post count: 20834

    No problem, that is a little more complex. Please try this:

    figure.animated-overlay:hover figcaption {
        width: 60%;
        left: 20%;
    }

    Thanks.

    #230988
    RHR
    Member
    Post count: 42

    Thank you so much for all your help.
    Sue

    #230990
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Sue,

    No problem, happy to help you!

    – David.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register