Woocommerce default css
Question
I am creating a custom woocommerce template
I added in the various pages:
header.php
<?php wp_head(); ?>
<body <?php body_class( '' ); ?>>
footer.php
<?php wp_footer(); ?>
Cart, checkout, my account create page-name.php
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; else: ?><?php endif; ?>
<?php get_footer(); ?>
The default css are not loaded on my account page only
I expected
in the source code I see woocommerce.css?ver=4.2.2, woocommerce-smallscreen.css?ver=4.2.2, woocommerce-layout.css?ver=4.2.2 but there is nothing like .woocommerce-account .woocommerce-MyAccount-navigation ul li
also I did not create the woocommerce.php page
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php woocommerce_content(); ?>
<?php endif; ?>
<?php get_footer(); ?>
but I still see the shop page. correct?
thank you
0
account, css, customization, templates, woocommerce
3 years
2020-07-17T01:11:33-05:00
2020-07-17T01:11:33-05:00 0 Answers
66 views
0
Leave an answer