News:

Looking for documentation? Take a look on our wiki

Main Menu

Need to change the style of this text on the custom field product

Started by mabf, December 20, 2019, 23:32:55 PM

Previous topic - Next topic

mabf

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

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)
This reflects current status when viewing old post.

mabf

first of all thank you for the reply but how exactly can i do this?

Jörgen

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)
This reflects current status when viewing old post.

mabf

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jörgen

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)
This reflects current status when viewing old post.