Skip to content
tofanzone.com
  • Home
  • About Us
  • Shop
  • Contact
  • Privacy Policy
  • Terms & condistions
Cart/$0.00
tofanzone.com

Cart

Your cart is currently empty.

Return to shop

home
home
  • About Us
  • Blog
  • Blog
  • Blog
  • Blog
  • Blog
  • Cart
  • Cart
  • Cart
  • Cart
  • Checkout
  • Checkout
  • Checkout
  • Checkout
  • Compare
  • Contact
  • Elementor #4908
  • Envo One Homepage #1
  • Envo One Homepage #2
  • FAQ
  • Home
  • My account
  • My account
  • My account
  • My account
  • Order Tracking
  • Privacy Policy
  • Refund and Returns Policy
  • Shipping
  • Shop
  • Terms & condistions
  • Terms & condistions
  • Wishlist
  • Wishlist
  • About Us
  • Blog
  • Blog
  • Blog
  • Blog
  • Blog
  • Cart
  • Cart
  • Cart
  • Cart
  • Checkout
  • Checkout
  • Checkout
  • Checkout
  • Compare
  • Contact
  • Elementor #4908
  • Envo One Homepage #1
  • Envo One Homepage #2
  • FAQ
  • Home
  • My account
  • My account
  • My account
  • My account
  • Order Tracking
  • Privacy Policy
  • Refund and Returns Policy
  • Shipping
  • Shop
  • Terms & condistions
  • Terms & condistions
  • Wishlist
  • Wishlist
  • About Us
  • Blog
  • Blog
  • Blog
  • Blog
  • Blog
  • Cart
  • Cart
  • Cart
  • Cart
  • Checkout
  • Checkout
  • Checkout
  • Checkout
  • Compare
  • Contact
  • Elementor #4908
  • Envo One Homepage #1
  • Envo One Homepage #2
  • FAQ
  • Home
  • My account
  • My account
  • My account
  • My account
  • Order Tracking
  • Privacy Policy
  • Refund and Returns Policy
  • Shipping
  • Shop
  • Terms & condistions
  • Terms & condistions
  • Wishlist
  • Wishlist
<!-- داخل header.php -->

<nav class="navbar">
  <div class="logo">
    <a href="<?php echo home_url(); ?>"> <?php bloginfo('name'); ?> </a>
  </div>

  <!-- آیکون همبرگری -->
  <div class="hamburger">☰</div>

  <!-- منوی وردپرس -->
  <?php
    wp_nav_menu(array(
      'theme_location' => 'primary', // جایگزین کن با location منوی اصلی‌ات
      'menu_class'     => 'nav-links',
    ));
  ?>
</nav>


<style>
/* استایل پایه */
body {
  margin: 0;
  font-family: sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 10px 20px;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.hamburger {
  cursor: pointer;
  font-size: 25px;
  display: none;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00c3ff;
}

/* حالت موبایل */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: -250px;
    background: #333;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }
}
</style>


<script>
document.addEventListener("DOMContentLoaded", function () {
  const hamburger = document.querySelector(".hamburger");
  const navLinks = document.querySelector(".nav-links");

  hamburger.addEventListener("click", () => {
    navLinks.classList.toggle("active");
  });
});
</script>

Trend Shop

  • Home
  • Shop
  • About Us
  • Terms & condistions
  • Privacy Policy
  • Shipping