Cant change size of Product name

  • Posts: 17
  • Thank you received: 0
9 years 1 month ago #244947

-- url of the page with the problem -- : kentkreations.co.uk/madebyleah/index.php...oduct/130-cookie-jar
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6.23
-- Browser(s) name and version -- : Chrome

I have gone into the 'frontend_custom.css' file via HikaShop's configuration>Display page.

I have located the following code and changed the font size, but it doesn't work:

.hikashop_compare_table .hikashop_product_name_main{color:#555; font-size:12px; font-weight:bold; text-decoration:none; border:none; text-align:center}

Do I have the wrong code?

Also, where is this file located in the file directory a s it will be easier to locate via FTP and amend in Filezilla in future.

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #244967

Hi,

The current CSS is coming from the following lines in the same file around line 147:

#hikashop_product_top_part h1 {
    font-size: 16px;
    color: #555555;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
    margin-bottom: 20px;
}
So, yes, you had the wrong code. As one of the classes is indicating, you've been using code for the product name in the comparison table.
The one I'm posting here is for product pages.

See the documentation which also tells you how to inspect and locate CSS with a browser console like Firebug: www.hikashop.com/support/documentation/1...ize-the-display.html

The file is located in the folder /media/com_hikashop/css


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: alistair2802

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 1 month ago #244948

Hello,

Using that kind of CSS code will probably do the job :

#hikashop_product_top_part #hikashop_product_name_main {
    font-size: 20px;
}
You'll find Hikashop CSS files via "media\com_hikashop\css".

The following user(s) said Thank You: alistair2802

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
9 years 1 month ago #245042

Thank you both.

So just to check, if there is an extension update, it wont overwrite the custom.css file?

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #245043

frontend_custom.css will not be overwritten by an update.

These are the CSS files coming with HikaShop on installation, and which are overwritten when updating:


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Attachments:
The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum