• Hi , I am using full screen menu so i am not able to get a separate cart icon on large display. on small display i get the icon. can you please tell me how to achieve this. i want the same icon i get on small screen on the large screen too beside the menu button.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    Unfortunately, In the full-screen header style, it is not possible because the cart is already showing the menu list for the desktop view.

    But If you want to show that you can copy the hee full-screen-header.php file into the child theme and edit/customize it according to your need.

    By following the path you will get the full-screen-header.php file /themes/oceanwp/partials/header/style

    Thread Starter manoranjan11

    (@manoranjan11)

    can you please provide me with the exact code ? I am not a developer. It would be very helpful of you or if this can be achieved through any other means then do tell

    Please add the below code just before the hamburger icon code.
    <?php echo do_shortcode( '[oceanwp_woo_cart]' ); ?>

    https://ibb.co/6P6ShZ9

    Here is the shortcode that you can add.
    https://docs.oceanwp.org/search?query=cart+shortcode

    Thread Starter manoranjan11

    (@manoranjan11)

    Hello , thanks for the code , i now have a cart. but can i change the logo? i want the same one that i have on the mobile display.

    • This reply was modified 3 years, 1 month ago by manoranjan11.
    • This reply was modified 3 years, 1 month ago by manoranjan11.

    Hello,

    Logo you can directly change via Appearance > Customize > Header > Logo.

    Thread Starter manoranjan11

    (@manoranjan11)

    not the normal logo , the full screen menu logo after adding this code <?php echo do_shortcode( '[oceanwp_woo_cart]' ); ?>

    https://ibb.co/DGJcsM6 – the cart logo on the right
    i want this to be like the one on device. so how to do that?

    Hello,

    Sorry but that one seems coming from the default settings.
    Have you added any custom code also for the logo?
    Please try to change it from the default settings and if changes not reflecting, kindly share a snapshot of the settings.

    Thread Starter manoranjan11

    (@manoranjan11)

    No i havent added any custom code for logo , on the mobile there were 5 option to select from so i selected 1 from thr , but there were no option for full screen header logo. so i pasted the code you gave and this logo came. i want to have the same logo that is there on the mobile device.

    can you guide to which setting you are asking for? I’ll share the snapshot

    Thread Starter manoranjan11

    (@manoranjan11)

    Hello , didn’t got any response

    • This reply was modified 3 years, 1 month ago by manoranjan11.

    Hello,

    I apologize for the delay in response.
    Kindly share the related snapshots, where you facing the issue.
    I’ll share the solution accordingly.

    Thread Starter manoranjan11

    (@manoranjan11)

    after adding this code i get the default cart logo but i want a different one from font awesome library.
    <?php echo do_shortcode( '[oceanwp_woo_cart]' ); ?>
    cart icon – https://ibb.co/j3S5vHs

    how can i change this ?

    Hello,

    To change the icon of the [oceanwp_woo_cart], you need to add the code from the attached PHP file to the functions.php file of the child theme and edit the icon class. For example, I replace the original icon class with ‘icon-handbag’. You can replace it and style it as per your needs.

    You will get the original file under the Ocean Extra plugin > Includes > Shortcodes > shortcodes.php file.
    https://we.tl/t-MsxdhDiDLX

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘want to add a logo in header for cart’ is closed to new replies.