[Resolved] How to Make This

Home Forums Support [Resolved] How to Make This

Home Forums Support How to Make This

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1552517
    Sourabh

    Hi Leo/David,

    Refer below GP site Library and guide me on how to make this documentation button in the header and how to paste link into it –

    http://gpsites.co/charge/

    Regds:

    #1553026
    Leo
    Staff
    Customer Support

    Hi there,

    This should help:
    https://docs.generatepress.com/article/adding-buttons-navigation/

    Let me know 🙂

    #1554285
    Sourabh

    I think I am making something wrong again, i have pasted css into an additional CSS Section in customizer but things not working, no button appears???

    help..

    #1555074
    David
    Staff
    Customer Support

    Did you follow step 1 in the article that Leo provided ?

    #1555082
    Sourabh

    I tried to follow but stuck in add a custom class in nav menu, I saw that and added custom class from screen of top, but could not understand where should i paste the CSS there which is been given in article??

    it was bit confusing for me …so created custom class but where should i paste CSS code ??

    #1555262
    Leo
    Staff
    Customer Support
    #1565943
    Sourabh

    no, I did this and followed all the steps, but didn’t get any result, seems I am making something wrong…Don’t know how to check now

    #1566298
    Leo
    Staff
    Customer Support

    Can you follow the steps again and link me to the page in question if it doesn’t work?

    #1567107
    Sourabh

    I tried whole day, and did something, but still something is missing which i have requested, i used below CSS but its not looking as same i want –

    /* Navigation styles */

    @media
    (min-width:769px) {
    .main-navigation .main-nav ul li.nav-button a {
    border-width: 3px;
    border-style: solid;
    border-color: inherit;
    border-radius: 5px;
    line-height: 3em;
    }
    }

    now what is missing is –

    some hover effect
    Border
    want to reduce some width and height to make equal, Below is url to check –

    https://venusentertainments.com/

    #1567659
    Leo
    Staff
    Customer Support

    Can you clear and disable your caching plugin first?

    #1567662
    Sourabh

    Done, deactivated now

    #1567957
    Leo
    Staff
    Customer Support

    I’m seeing this CSS added:

    /*for account button in header*/
    
    /* Navigation styles */
    @media (min-width:769px) {
    	.main-navigation .main-nav ul li.nav-button a {
    		border-width: 3px;
    		border-style: solid;
    		border-color: inherit;
    		border-radius: 5px;
    		line-height: 3em;
    	}
    }

    and also this:

    @media (min-width:769px) {
        .main-navigation .main-nav ul li.nav-button a {
            background-color: #ffffff;
            border: 2px solid #000000;
            color: #000000;
            line-height: 35px; /*this number will likely need to be adjusted*/
        }
    }

    Can remove the first block first?

    #1568133
    Sourabh

    Below is deleted now –

    /*for account button in header*/

    /* Navigation styles */

    @media
    (min-width:769px) {
    .main-navigation .main-nav ul li.nav-button a {
    border-width: 3px;
    border-style: solid;
    border-color: inherit;
    border-radius: 5px;
    line-height: 3em;
    }
    }

    #1568641
    Leo
    Staff
    Customer Support

    So what isn’t working?

    The border is indeed working – it’s just not obvious as your navigation background is also a dark color.

    You can see it working if you use 2px solid #ff0000; instead of 2px solid #000000;:
    https://www.screencast.com/t/mFyA1yMCW

    #1568723
    Sourabh

    okay..

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