Sing in link next to cart and highlight current item in menu

This topic has 8 replies, 2 voices, and was last updated 7 years, 4 months ago ago by Olga Barlow

  • Avatar: corass
    corass
    Participant
    October 25, 2016 at 08:21

    Hi,

    Could you help me with this:

    1) I would like to add ‘Sing in link’ (with feature function of My account menu) next to cart icon and it should be also when scrooling down and navigation menu shows again. Currently I use Variant Xstore header and disable top bar and I would like to stay in this layout. I know at other header styles this is available. Where I should change code?

    2) Additionally, I would like to change how current item at main menu is shown. No it’s underline but then I scroll down this item has color and underline as my main color set. How to change this to both would have color and underline as my main set?

    3) Last one: is there any option to add floating button/side layer at right side of page ie. BUY NOW but only at onepage layout and only on that page. Other pages like About/cart etc should not have this option. Is this possible?

    Thanks,
    Daniel

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 25, 2016 at 11:03

    Hello,

    1) If you want to change the xstore/headers/xstore.php header structure. Copy this file in child theme and do all the changes in child theme only!

    2) Add the following code in Theme Options > Styling > Custom CSS

    .fixed-header .menu-wrapper .menu > li.current-menu-item > a
    {color: your_color;}
    .fixed-header .menu-wrapper .menu > li.current-menu-item > a:after {background-color: your_color;}

    3) There is no such feature in our theme. You may look for additional plugin to implement this.

    Regards

    Avatar: corass
    corass
    Participant
    October 26, 2016 at 13:05

    Thanks Olga,

    1) I’ve edited child theme. I almost got what I what. Now little problems with styles or putting code in wrong place. Please look at screens

    code I’ve used in headers/xstore.php:

     <div class="navbar-header">
    <!-- login code starts here -->
     <div class="top-links">
                            <?php etheme_top_links(); ?>
                            <?php if((!function_exists('dynamic_sidebar') || !dynamic_sidebar('top-bar-right'))): ?>
                            <?php endif; ?>
                        </div>
    
    <!-- ends here -->                  
    
      <?php if(etheme_get_option('search_form')): ?>
                            <?php etheme_search_form(); ?>

    Maybe I should insert it on part etheme_top_cart(); in this file but I don’t know where find int etheme_top_cart() . Could you help me,please?

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2016 at 07:05

    Hello,

    Provide, please, link to your site. If you change the structure you need to change also the styles. By default, cart area has 25% width. Maybe it’s not enough to show the cart and links.

    Regards

    Avatar: corass
    corass
    Participant
    October 27, 2016 at 12:26

    Hi,
    access to admin page in Private content. I tried modify styles but nothing work properly. On different screen sizes it doesn’t look good.

    And now there aren’t social media icon links (fb, istagram) which I would like to have – they are available at Variant Center3 header layout.
    Finally would be great if LOGOWANIE (sing in) would have white background color and magenta text color and on hover they reverse but without touching submenu of Sing in menu.
    I tried

    .top-links ul li a {color:#E53763; background-color: #ffffff;}
    .top-links ul li a:hover {color: #ffffff; background-color: #E53763}

    but sub menu was also changed.

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 28, 2016 at 15:59

    Hello,

    I have added some styles to align sign in link. If you want to add any content next to it use Right Sidebar widget area (Appearance > Widgets). Because you moved this area our widgets will be unstyled and you will need additionally customize them.

    If you need our help with additional customization you may send request here https://www.8theme.com/customization-services/ because such service is not included in our basic support.

    Regards

    Avatar: corass
    corass
    Participant
    November 2, 2016 at 09:45

    Hi,

    thank you for your help! You’re awesome! 🙂

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 2, 2016 at 12:08

    Hello,

    You are welcome!

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.