Top Bar - by jeffunik72 - on WordPress WooCommerce support

This topic has 13 replies, 5 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: jeffunik72
    jeffunik72
    Participant
    March 1, 2015 at 06:14

    This may sound like a dumb question… but where do I go to change what appears in the top bar… not the header but the actual top bar… ive browsed all the menus and cant find anywhere to edit the content in it…. On the demo site it shows in with social media options, but when I import the demo content it has the language and currency switcher…

    thanks,
    Jeff

    12 Answers
    Avatar: Forbeck
    Forbeck
    Participant
    March 1, 2015 at 18:50

    I had the same trouble and finally found it. Go to the Theme Options page and click on the Header menu. Scroll down until you see “Header custom HTML for vertical header variants”. In that area, paste the following shortcode: [share]

    Then save your changes, and it should work.

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 1, 2015 at 19:47

    Thanks for the reply Forbeck 🙂 this really should be easier to find or edit maybe in a future update

    Avatar: shivas-irons
    shivas-irons
    Participant
    March 1, 2015 at 23:33

    How can I edit those share links? If I want to change the words and not use Newsletter or Sign In on the right side of the top bar how do I do this?

    Also, how do I remove the Language or currency links from the left side of the top Bar? I’d rather see the social sharing icons/links.

    Thanks in advance

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 2, 2015 at 07:38

    Hello.
    1.Disabling right top links. Navigate to the Theme options->header->top links. Go to the Theme options->promo popup->Show link in the top bar.
    2.If you wish to put social icons instead of currency/language links please navigate to the Appereance->widgets and create new text block widget with [share] shortcode. Drag and drop this widget to the Place in the header top bar.

    With best regards
    Brian Johnson

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 2, 2015 at 10:51

    In case you want to change share links please edit file from line 1704 (“// ! Share This Product”)
    And you may also change icons in \royal\wp-content\themes\royal\icons.png using graphical editor.

    With best regards
    Brian Johnson

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 3, 2015 at 18:35

    What if I want to keep the language switcher but replace the currency with social icons?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 3, 2015 at 20:25

    Hello,

    In this case you need edit the file wp-content/themes/royal/headers/parts/top-bar.php and add the code for social icons instead of currency one.

    Regards,
    Eva Kemp.

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 3, 2015 at 21:10

    lol what is the code for the social icons?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 4, 2015 at 09:10

    Hello,

    You can copy the code from the file shortcodes.php (section “! Share This Product”) in the directory wp-contnent/themes/royal/framework or insert the code you’ll find on social websites helpbase.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 4, 2015 at 11:19

    ive been trying to edit the top-bar.php ive tried removing the <div class=”currency”> and they still appear… ive tried inserting the codes from the file and it doesnt work… it just looks like im editing the wrong file because nothing is happening… Ive even tried removing the languages div and they still appear…

    like i said i think im editing the wrong file

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 4, 2015 at 11:25

    Ok figured it out after writing that reply

    wp-content/themes/royal/headers/header-structure-3.php

    thats the file I needed to edit and not top bar…

    thanks,
    Problem solved

    Avatar: Eva
    Eva Kemp
    Support staff
    March 4, 2015 at 17:36

    Hello,

    We’re glad the issue has been resolved.

    Enjoy your work.

    Regards,
    Eva Kemp.

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

The issue related to '‘Top Bar’' has been successfully resolved, and the topic is now closed for further responses

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