Post by nazar@itd.no » Wed Feb 21, 2018 4:43 pm

Hello.
I have tried to search the forum, but couldnt find related posts.
When editing a product, under General Tab, in Description, a table can be inserted. Which css file and section in that file controls the styling of that table? I have tried to do som tweaks to some css files, but it doesnt seem to have any effect.

Opencart 2.3.0.2, default theme.

Regards
Nazar Khan

Newbie

Posts

Joined
Fri Sep 15, 2017 7:03 pm

Post by straightlight » Wed Feb 21, 2018 6:32 pm

No URL to the precise location provided.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted 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

Post by nazar@itd.no » Thu Feb 22, 2018 8:33 pm

Sorry,
I thought there is only one place a product can be added/edited.
I hope this will explain what i am askng for:
In admin - Catalog - Products
(index.php?route=catalog/product&token=skdfhswiuefhwikef)
Either edit a product clicking the pencil or adding a product with "+" icon.
When inside the product edit/add page, on the first tab "General", there are fields for "Product name", "Description", "Meta Tag Title" and more.
In the Description box, we can add text, pictures, tables and probably more.
It is in this box, when a table is added, i would like to know which css file controls the styling of this table.
E.g., I want to add a table with ingredients of a product and want the header to be bold and with a background color.

Regards,
Nazar Khan

Newbie

Posts

Joined
Fri Sep 15, 2017 7:03 pm

Post by DigitCart » Thu Feb 22, 2018 8:53 pm

Hi,
In default theme, you can add this CSS code to your stylesheet.css:

Code: Select all

#tab-description tr:first-child {
  font-weight: bold;
  background-color: #fafafa;
}

My Extensions / DigitCart


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by nazar@itd.no » Mon Feb 26, 2018 5:43 pm

Thank you.
I tried it now and it works well.

Regards,
Nazar Khan

Newbie

Posts

Joined
Fri Sep 15, 2017 7:03 pm

Post by DigitCart » Mon Feb 26, 2018 5:56 pm

You're welcome!

My Extensions / DigitCart


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm

Who is online

Users browsing this forum: No registered users and 10 guests