test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • sobini Friend
    #205968

    Hi!

    I want to make some css changes for virtuemart and I just can’t seem to find them/understand the best way to change it.
    The way I understand it is that the custom.css does not override the virtuemart css.
    The override for virtuemart is in /less/extras/com_virtuemart.less, but if I make changes there, they do not seem to transfer to the site. I have made a few changes directly in com_virtuemart.css – although I don’t hink that is a good practice as they will be overwritten once updated – a few of those changes were visible but others didn’t work.

    To give you an idea of what I want to change: the Back to “category” button on the product details page, on the category overview remove the light gray background behind the products images, change hover color of product title in product overview.

    Could you please point me in the right direction where I can make those changes?
    Thank you!!!!

    Adam M Moderator
    #569095

    Hi @sobini,

    Please open file root_folder/templates/ja_cagox/css/custom.css and make change as below :

    1. To remove the grey background in product category page :

    .com_virtuemart #t3-mainbody .vm-product-media-container {
    background: none;
    }

    2. To change the title color of product when hover :

    .com_virtuemart #t3-mainbody .category-view .row .spacer h2 > a:hover {
    color: blue;
    }

    3. About the back to category in product detail page, adjust the code below to suite your need :

    .com_virtuemart #t3-mainbody a.product-details,
    .com_virtuemart #t3-mainbody div.details,
    .com_virtuemart #t3-mainbody button.default,
    .com_virtuemart #t3-mainbody span.details-button input.details-button {
    background-color: #333333;
    background-image: none;
    border-color: #262626;
    border-radius: 0;
    color: #ffffff;
    font-family: "Montserrat",sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 7.5px 15px;
    text-transform: uppercase;
    }

    sobini Friend
    #570404

    Thank you! It worked!

    sobini Friend
    #735470

    Thank you! It worked!

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

This topic contains 4 replies, has 2 voices, and was last updated by  sobini 9 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum