Sidebar Changes (font, size Colour) image thumb

This topic has 6 replies, 3 voices, and was last updated 10 years, 6 months ago ago by Robert Hall

  • Avatar: ctrimde
    ctrimde
    Participant
    May 25, 2015 at 11:37

    Hello,

    I am styling my sidebar (main sidebar)-

    a)I have included the “wooCommerce Products widget”

    http://lecity.org/blog/mothers-day-all-women-are-unique-blindfold-challenge/

    Here i would like to style the following:

    1.) size of the Thumbnail
    2.) Title (font size, colour, font family)
    3.)Price (font size, colour)
    4.) Add a wishlist and Add to Cart button

    COULD you provide a way to adjust those

    b) I have included the 8theme – recent Posts widget (in the same page beneath)

    1.) size of the Thumbnail
    2.) Title (font size, colour, font family)
    3.) remove AUTHOR and POST DATE

    COULD you provide a way to adjust those-

    Many many thanks!- you guys are wonderful!

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    May 25, 2015 at 12:41

    Hello,

    a) Add this code in custom.css file:

    1.

    .product_list_widget img {
        width: 100px !important;
    }

    2. Change all values to yours:

    .woocommerce ul.product_list_widget li a {
        font-family: helvetica;
        font-size: 12px;
        color: red;
    }

    3.

    .product_list_widget .amount {
        font-size: 12px !important;
        color: grey !important;
    }

    4. Sorry, but “Add to Wishlist” and “Add to Cart” buttons can’t be added in products widget sidebar.

    b) Use this code in custom.css file:
    1.

    .recent-post-mini > a.postimg img {
        width: 100px !important;
    }

    2.

    .recent-post-mini a {
        font-family: Georgia !important;
        font-size: 12px !important;
        color: red;
    }

    3. You need edit the file wp-content/themes/legenda/framework/widgets.php (line 368) and comment the code:

    <?php _e('by', ETHEME_DOMAIN) ?> <strong><?php the_author(); ?></strong><br>
    <?php the_time(get_option('date_format')); ?>

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: ctrimde
    ctrimde
    Participant
    May 25, 2015 at 15:38

    Dear EVA, all worked wonderful,

    however i need help with your suggestion to:

    3. You need edit the file wp-content/themes/legenda/framework/widgets.php (line 368) and comment the code:

    <?php _e(‘by’, ETHEME_DOMAIN) ?> <?php the_author(); ?><br>
    <?php the_time(get_option(‘date_format’)); ?>

    I found the code but what do i need to modify here…? so that author and time is not displayed.

    Thank you!

    Avatar: Robert Hall
    Robert Hall
    Participant
    May 25, 2015 at 16:01

    Hello,

    You need comment out this code.
    <?php /* the_time(get_option(‘date_format’)); */?>

    Regards,
    Robert Hall.

    Avatar: ctrimde
    ctrimde
    Participant
    May 25, 2015 at 19:05

    Great Robert! many thanks! that worked!!

    Avatar: Robert Hall
    Robert Hall
    Participant
    May 25, 2015 at 19:12

    You’re welcome!
    Have a good day!

    Regards,
    Robert Hall.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Sidebar Changes (font, size Colour) image thumb’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.