• Resolved TheMadWiddler1200

    (@themadwiddler1200)


    Hello,

    I have a social icon on my header and I added this code

    .sticky-enabled .tc-header .social-block {
        display: block;
    }

    to make the icon stay on the sticky header. But now that I try to remove it, the icon is gone but so is the menu. This is only on the sticky header, not the main one. How can I remove the icon only from the sticky header but keep the menu?

    Fair warning: website does contain NSFW content. Also, site it still in development, if you’re gonna judge, please don’t be to harsh. ;p

    Thanks for any help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You have this in your child-theme style.css:

    /* Twitter icon stays on sticky header */
    .sticky-enabled .tc-header .social-block {
    display: block;
    }

    and you wrote it ??
    remove it

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hey @d4z_c0nf

    That’s the same code I posted above. I just removed the “twitter icon stays….” text comment. I actually got it from a different post here on the forums. I’ve tried removing it and the icon is gone but the menu also disappears. I’ve also tried replacing “block” with “none” but nothing changes. Do you have any other suggestions?

    Thanks for your help!

    Well, the problem is that you should remove it, but removing it you lost the thickness you need ’cause you have a negative margin for the “menu”. Since I think you spent a lot of time to find a good alignment, I don’t wanna spend other time too :P, so let’s do in this other way,
    keep the code above and add:

    .sticky-enabled .social-block a {
    visibility: hidden;
    }

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Yes I did spend a lot of time trying to find a good alignment, I still don’t think it looks aligned properly. ;p

    Your suggestion worked. Thank you!

    d4z_c0nf, I’d like to ask you a quick question but asking here on the forums in not the appropriate place. May I contact you through email or any other way you think is best?

    Sorry, agains forum rules, I can’t leave here contacts.
    Be creative.. but be aware, you cannot contact me through nicolas’ site neither.

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Okay I under$tand. ?? Thank$$$

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't remove social icon from sticky header?’ is closed to new replies.