[Support request] Centering a menu item with fixed position at bottom of slideout menu

Home Forums Support [Support request] Centering a menu item with fixed position at bottom of slideout menu

Home Forums Support Centering a menu item with fixed position at bottom of slideout menu

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #812169
    Craig

    Here’s the code I am using. It works the the slideout menu, the problem is it also causes the “Book” menu item to display on the page even when the slideout menu is not open.

     .book-menu{
    	 width: 150px !important;
    	position: fixed !important;
    	 bottom: 10px;
    	 left: 50%;
       transform: translate(-50%, 0);
    	}
    }

    Slideout Menu

    If I remove the left attribute it will display properly, but uncentered.

    GP Premium 1.7.7
    #812188
    David
    Staff
    Customer Support

    Hi there,

    can you provide a link to the site? You can edit your original topic and use the Site URL for privacy.

    #812246
    Craig

    David,

    I’m running on localhost. Do you happen to know how I could provide a link to the wordpress site using localtunnel? Website url structure is localhost:8080/websitename however while I can get localtunnel to connect to localhost:8080 it will not connect to the wordpress site.

    #812265
    Craig

    Don’t love the solution, but this seems to have fixed it:

    .book-menu{
    	 width: 150px !important;
    		position: fixed !important;
    	 margin-left:50px;
    	 bottom: 10px;
    	}
    }
    #812411
    Tom
    Lead Developer
    Lead Developer

    Nothing wrong with that I don’t think, although you probably don’t need the !important part.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.