[Resolved] Social Media

Home Forums Support [Resolved] Social Media

Home Forums Support Social Media

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #101126
    Maxime Corbisier

    So, if i want that my “f” float on the right of the menu, what i’ve to do ?

    #101252
    Tom
    Lead Developer
    Lead Developer
    #101406
    Maxime Corbisier

    I’ve done all of that. But it doesn’t work :(.

    I put :
    .social_icon {
    float: right;
    }

    In my custom css and “social_icon” in the css class of the link.

    I tried with :
    .social_icon {
    float: right !important;
    }

    But my “f” is always on the left with my nav menu.
    Sorry to disturb you πŸ™

    #101416
    Tom
    Lead Developer
    Lead Developer

    Can you possibly link me to the page where you’re trying to do this? It will help if I can see the code πŸ™‚

    Thanks!

    #101417
    Maxime Corbisier

    http://www.prograweb.be

    Thanks soooooo much!

    #101418
    Tom
    Lead Developer
    Lead Developer

    Looks like you gave your fb icon the class “facebook”.

    So your code would be:

    @media (min-width: 769px) {
          .sf-menu > li.facebook {
                float: right;
          }
    }

    The above should be mobile friendly as well πŸ™‚

    #101427
    Maxime Corbisier

    It’s done Tom, but my “f” don’t move πŸ™

    #101561
    Tom
    Lead Developer
    Lead Developer

    You have this in your stylesheet:

    function msk_load_css_fontawesome() {
      if (!is_admin()) {
        wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css', null, '4.0.1' );
      }

    PHP isn’t allowed in CSS files, and is breaking the code below it.

    If you remove the above, it should work for you.

    #101846
    Maxime Corbisier

    You’re awesome, thank’sssss !!!! πŸ˜€

    Sorry for the desagrement :()

    #101930
    Tom
    Lead Developer
    Lead Developer

    Happy to help! πŸ™‚

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