• Hello

    here is my website, still en beta version : http://collectifsaga.com/X/wordpress/fr/home/

    i’m trying to make it fixed the menu, on the top, but it’s not working
    it works with firefox, but not with Chrome and Safari

    here is my css :

    .esg-filters {
        position: fixed;
        top: 60px;
        left: 20px;
       }

    I tried as well this one :

    .esg-filters {
        position: fixed;
      	-webkit-transition: background 1.15s ease-in-out 0s;
        -moz-transition: background 1.15s ease-in-out 0s;
        transition: background 1.15s ease-in-out 0s;
      	z-index: 1000;
      	top: 60px;
    	left: 20px;
       }

    do you have an idea to solve this problem ?
    thanks a lot

Viewing 3 replies - 1 through 3 (of 3 total)
  • How are you adding this menu? When I look at your source code it is not using the WP Menus function (Appearance>Menus) it looks more like you added it as a post (article)…..you also have multiple posts on your page with the same CSS selector (esg-filters)…..

    I would suggest that you start by using the Custom Menus function built into WP by going to Appearance>Menus (assuming your theme supports menus) and building your menu there and assigning it to a menu location (as specified in your Theme)…..then you can target the correct CSS selector for your top menu and it should work.

    Thread Starter camillesable

    (@camillesable)

    Hey, thanks for answering

    Well, I guess the problem is exactly here

    For the grid, I’m using the plugin Essential Grid. And the menu is generated automatically, with the filters, depending of the categories of the articles.

    And I don’t know exactly where this menu is written in the php files of EG (Essential Grid). So I tried to modify the position with the CSS, but I guess it’s a bit borderline, and not really correct …

    Do you have an idea how to solve that ?

    Thanks a lot for your answer !

    Ah that answers a lot.

    Your best bet is to post your question on CodeCanyon for the developer of that plugin. Since it’s a premium plugin you likely have support for it as part of what you paid.

    Here in the WordPress support forum it’s unlikely to find support for a premium plugin……not because folks won’t want to help, but because there are just too many things that it could be doing wrong or it may be incompatible with other plugins you have – best to let the Essential Grid developer help you.

    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with the position fixed’ is closed to new replies.