Author Topic: Need to change the style of this text on the custom field product  (Read 636 times)

mabf

  • Beginner
  • *
  • Posts: 13
  • A beginner
hello everybody, im kinda new with this, but can anyone help me with this, im tryng to change the style in this text i mean like change the font color, or bold the font etc but i dont know how thank you

www.sugar-monkey.com
VirtueMart 3.6.10




Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2747
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Need to change the style of this text on the custom field product
« Reply #1 on: December 20, 2019, 23:59:27 pm »
In Your case I would define a language key:

MY_KEY_COLORS = "<b>Colores</b>"

This can be translated into all languages. If the styling still does not work for You, You have to check Your template, because a standard template accepts styling, with or without using a language key.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

mabf

  • Beginner
  • *
  • Posts: 13
  • A beginner
Re: Need to change the style of this text on the custom field product
« Reply #2 on: December 21, 2019, 00:00:49 am »
first of all thank you for the reply but how exactly can i do this?

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2747
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Need to change the style of this text on the custom field product
« Reply #3 on: December 21, 2019, 00:06:51 am »
Using language keys is a Joomla issue, google Joomla language keys.

Testing Your template, simply test with Protostar. If It works with Protostar talk with your template supplier. Styling works out of the box, using language keys is a bonus.

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

mabf

  • Beginner
  • *
  • Posts: 13
  • A beginner
Re: Need to change the style of this text on the custom field product
« Reply #4 on: December 21, 2019, 00:15:21 am »
well i think i need to read about this but i have no idea what are you talking about, i thought u were talking about languages overrides, but still i have no idea how to do this =(

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9650
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Need to change the style of this text on the custom field product
« Reply #5 on: December 21, 2019, 09:32:21 am »
It is language over rides

you put MY_KEY_COLORS in the title text field

and  MY_KEY_COLORS = "<b>Colores</b>" manually in the lang over rides

or config the above in the joomla language over rides admin.

But you can also simply target the custom field title by css

something like

.product-fields-title {
   font-weight: bold;
}
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2747
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Need to change the style of this text on the custom field product
« Reply #6 on: December 21, 2019, 09:38:51 am »
As I Said before BOLD works out of The box, IF not then template issue.
Using language overrides is a bonus, but it Will not works of your template does not support this. You Will talk to your template designer.
Adding THE CSS GJC suggested fixes all custom field labels.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)