Post by frangxxx » Fri Aug 10, 2018 6:33 pm

Sorry if this is a bit of a newb question but here goes...

Just wondering if you could assist me please, I'm currently building a site for a client using Opencart (Version 2.3.0.2) and I have the SELLMORE theme installed: themeforest.net/item/sellmore-highly-customizable-multipurpose-opencart-theme/19916292

I'm really struggling to make sense of how I go about changing the background colour on a table in the product description section? Everything I have tried doesn’t seem to work, I’d like the first row to have a green or black background and the rest of the rows to be normal. I don’t know where to change the settings/CSS or in the css of the header.tpl file as advised by the author? (please see attached for what I would like to achieve)

The author has advised me to go to: catalog\view\theme\sellmore\template\common\header.twig (the lines 121-127) but offer any actual help beyond that, I'm not the most technical, hence the post. ???

I'm none the wiser of what needs changing, please see an example of what Im trying to achieve here: Image

Thanks for any help in advance, it would be very much appreciated.
/* Wrapper */
<?php if($t1d_wrapper_frame_bg_color_status =='1') { ?>
.wrapper.framed, .wrapper.full-width {
background-color: <?php echo $t1d_wrapper_frame_bg_color; ?>;
}
<?php } ?>
<?php if($t1d_wrapper_frame_bg_color_status =='1') { ?>
.wrapper.full-width-border {border: 50px solid <?php echo $t1d_wrapper_frame_bg_color; ?>;}
<?php } else { ?>
.wrapper.full-width-border {border: 50px solid transparent;}
<?php } ?>
<?php if($t1d_wrapper_shadow =='1') { ?>
.wrapper.framed {box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);}
<?php } ?>
<?php if($t1d_boxes_shadow =='1') { ?>
.wrapper.boxed #column-left .panel, .wrapper.boxed #column-right .panel, .wrapper.boxed #content {box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);}
<?php } ?>

/* Content Column */
#content, #content .panel, .category-list + .panel-default > .panel-heading, #search .form-control, #search .input-group-addon, #search .input-group-addon .btn, #livesearch_search_results, .modal-content, .alert-success, .alert-info, .cookie-message, .custom_box, .panel-inline-items, .theme-lookbook-bg, .theme-banner-bg, .theme-gallery-bg, .theme-store-tv-bg, .highly-recommended-module-content, #tab-review .rating-text {
background-color: <?php echo $t1d_content_column_bg_color; ?>;
}
.tab-content .table-bordered, .tab-content .table-bordered > thead > tr > th, .tab-content .table-bordered > tbody > tr > th, .tab-content .table-bordered > tfoot > tr > th, .tab-content .table-bordered > thead > tr > td, .tab-content .table-bordered > tbody > tr > td, .tab-content .table-bordered > tfoot > tr > td {
border-color: <?php echo $t1d_content_column_bg_color; ?>;
}
.well, .table-bordered, .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td, .table-bordered img {
border: 1px solid <?php echo $t1d_content_column_bg_color; ?>;
background-color: <?php echo $t1d_content_column_hli_bg_color; ?>;
}
<?php if($t1d_content_column_hli_buy_column ==1) { ?>
.product-buy .product-buy-wrapper {
background-color: <?php echo $t1d_content_column_hli_bg_color; ?>;
padding: 30px;
}
<?php } ?>
.nav-tabs > li > a, .nav-tabs > li > a:hover, .sitemap > ul > li > a, .manufacturer-list h3, .search-panel, .product-page #product-tabs .tab-content, .contact-details-wrapper {
background-color: <?php echo $t1d_content_column_hli_bg_color; ?>;
}

#livesearch_search_results li, .modal-footer, .list-group a, .list-group a.active, .list-group a.active:hover, .list-group a:hover, a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
border-top: 1px solid <?php echo $t1d_content_column_separator_color; ?>;
}
.modal-header {
border-bottom: 1px solid <?php echo $t1d_content_column_separator_color; ?>;
}
.contact-map, .img-thumbnail-theme {
border: 1px solid <?php echo $t1d_content_column_separator_color; ?>;
}
hr, #search .input-group-addon {
border-color: <?php echo $t1d_content_column_separator_color; ?>;
}

Expand snippet

Newbie

Posts

Joined
Fri May 09, 2014 4:26 am

Post by straightlight » Sat Aug 11, 2018 12:22 am

- catalog/view/theme/<your_theme>/stylesheet/stylesheet.css file.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 103 guests