Home Forums WoodMart support forum Theme css not working

Theme css not working

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #594998

    leejay123
    Participant

    I have tried to add this code to the Global CSS options In Woodmart theme settings but It will not work!
    If i edit wp-content/themes/woodmart/css/parts/woo-page-my-account.min.css?ver=7.6.0 and change from them it works. I dont like the design of woodmart account page so ive changed it!

    
    /* Full-Width Container for My Account */
    .woocommerce-my-account-wrapper {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        background-color: #fff !important;
        border-radius: 8px !important; /* Uniform border radius */
        border: 1px solid #ddd !important; /* 1px border for the entire container */
        overflow: hidden !important; /* Ensure content stays within the border radius */
      }
      
      /* Header and Navigation Area */
      .woocommerce-MyAccount-navigation {
        background-color: #ffffff !important;
        border-bottom: 1px solid #ddd !important; /* Divider at the bottom of the nav */
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
        border-radius: 8px 8px 0 0 !important; /* Match the top corners of the container */
      }
      
      .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: space-between !important; /* Evenly space out navigation items */
        border-top: 1px solid #ddd !important; /* Top border to match the overall style */
      }
      
      .woocommerce-MyAccount-navigation ul li {
        margin: 0 !important;
        flex: 1 !important; /* Ensure each menu item takes up equal space */
        text-align: center !important; /* Center-align the text */
        border-right: 1px solid #ddd !important; /* Full-width dividers between tabs */
      }
      
      .woocommerce-MyAccount-navigation ul li:last-child {
        border-right: none !important; /* No divider after the last item */
      }
      
      .woocommerce-MyAccount-navigation ul li a {
        display: block !important;
        padding: 10px 0 !important; /* No padding on sides, only vertical padding */
        color: #555 !important; /* Softer text color */
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: background-color 0.3s ease, color 0.3s ease !important;
      }
      
      .woocommerce-MyAccount-navigation ul li a:hover,
      .woocommerce-MyAccount-navigation ul li.is-active > a {
        background-color: #efefef !important; /* Light background on hover/active */
        color: #333 !important; /* Darker text color on hover/active */
      }
      
      /* Content Styling */
      .woocommerce-MyAccount-content {
        padding: 30px 20px 30px 20px !important; /* 30px top/bottom, 20px left/right */
        background-color: #ffffff !important;
        box-sizing: border-box !important;
        border-radius: 0 0 8px 8px !important; /* Match the bottom corners of the container */
      }
      
      .woocommerce-MyAccount-content > h2 {
        text-transform: uppercase !important;
        font-size: 16px !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        color: #333 !important;
      }
      
      .woocommerce-MyAccount-content > p {
        font-size: 14px !important;
        color: #666 !important;
      }
      
      .woocommerce-MyAccount-content .woocommerce-Message {
        margin-bottom: 15px !important;
      }
      
      .woocommerce-MyAccount-content > .button {
        border-radius: 4px !important;
        color: #fff !important;
        background-color: #0073aa !important;
        padding: 8px 15px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        border: none !important;
        cursor: pointer !important;
        transition: background-color 0.3s ease !important;
      }
      
      .woocommerce-MyAccount-content > .button:hover {
        background-color: #005a87 !important;
      }
      
      /* Form Fields */
      .woocommerce-MyAccount-content input[type="text"] !important,
      .woocommerce-MyAccount-content input[type="password"] !important,
      .woocommerce-MyAccount-content input[type="email"] !important,
      .woocommerce-MyAccount-content select !important {
        width: 100% !important;
        padding: 8px !important;
        margin-bottom: 15px !important;
        border-radius: 4px !important;
        border: 1px solid #ccc !important;
        background-color: #fff !important;
        font-size: 14px !important;
        color: #333 !important;
        box-sizing: border-box !important;
      }
      
      /* Grid Layout for My Account Links */
      .wd-my-account-links {
        --wd-col-lg: 3;
        --wd-col-md: 2;
        --wd-col-sm: 1;
        --wd-gap-lg: 15px !important;
        margin-top: 20px !important;
        display: grid !important;
        grid-template-columns: repeat(var(--wd-col-lg), 1fr) !important;
        gap: var(--wd-gap-lg) !important;
        background-color: #ffffff !important;
        padding: 0px !important;
        box-sizing: border-box !important;
      }
      
      .wd-my-account-links a {
        display: block !important;
        padding: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        color: #333 !important;
        border-radius: 4px !important;
        background-color: #f9f9f9 !important;
        border: 1px solid #ddd !important; /* 1px border */
      }
      
      .wd-my-account-links a:before {
        display: block !important;
        color: #0073aa !important;
        margin-bottom: 10px !important;
        font-size: 40px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        transition: color 0.25s ease !important;
        content: "\f140" !important; /* Default icon */
        font-family: "woodmart-font" !important;
      }
      
      .wd-my-account-links a:hover {
        color: #005a87 !important;
        background-color: #e9e9e9 !important;
      }
      
      .wd-my-account-links a:hover:before {
        color: #005a87 !important;
      }
      
      /* Responsive Adjustments */
      @media (max-width: 1024px) {
        .woocommerce-MyAccount-navigation ul {
          flex-direction: column !important;
          align-items: flex-start !important;
        }
      
        .woocommerce-MyAccount-navigation ul li {
          margin-bottom: 5px !important;
          border-right: none !important; /* Remove divider for stacked menu items */
          border-bottom: 1px solid #ddd !important; /* Full dividers between menu items */
          width: 100% !important;
        }
      
        .woocommerce-MyAccount-navigation ul li:last-child {
          border-bottom: none !important; /* No divider after the last item */
        }
      
        .woocommerce-MyAccount-navigation ul li a {
          text-align: left !important;
          padding: 10px 15px !important;
        }
      
        .woocommerce-MyAccount-content {
          padding: 10px 15px !important; /* Further reduced padding for mobile */
        }
      }
      
      @media (max-width: 768.98px) {
        .wd-my-account-links {
          grid-template-columns: repeat(var(--wd-col-sm), 1fr) !important;
        }
      }
    • This topic was modified 3 months, 1 week ago by leejay123.
    #595165

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)