Home Forums Pro Themes Travel Eye Pro Cart icon in header?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53685
    Paul614724
    Participant

    Is there a way to put a link to the shopping cart in the header next to the search/social icons?

    #53705
    wensolutions
    Keymaster

    Hello @paul614724,

    To place the shopping cart icon along with the link you have to activate the child theme .

    You can even activate the child theme using the plugin given below .

    https://wordpress.org/plugins/wp-child-theme-generator/

    After activating the child theme in your child theme functions.php file paste below given code .

    https://gist.github.com/anonymous/3b457b1c15a6babbe2abba52170e0e0b

    Finally go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.

    .right-bar .cart-icon a:before{
        content: "\f07a";
        display: block;
        font-family: FontAwesome;
        font-weight: normal;
        line-height: 2.1;
    }
    
    .right-bar .cart-icon a {
        border: 1px solid #aaa;
        border-radius: 100%;
        display: inline-block;
        height: 33px;
        line-height: 1.7;
        margin-right: 0;
        padding: 0;
        text-align: center;
        vertical-align: middle;
        width: 33px;
        float: right;
    }
    
    @media( min-width: 768px ) {
    .right-bar .search-form {
    
    float: left;
    margin: 0 5px;
    
    }
    }
    
    @media( max-width: 768px ) {
    .right-bar .cart-icon a {
       margin:5px;
    
    }
    }

    Hope this helps .

    Best Regards!!

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