Author Topic: CSS question  (Read 824 times)

cvrak

  • Jr. Member
  • **
  • Posts: 95
  • A beginner
CSS question
« on: June 24, 2021, 18:10:27 pm »
Hi,

I try to customize the font size and the position of custom fields at category layout. The problem is that I change the price fonts as well, which i don;t want.
The URL of the page is https://www.dentalstock.gr/odontiatrika/2018-11-28-08-49-27 I need the custom fields to be aligned in the middle and to make font size smaller.
Which class I have to customize?

Thanks in advance
Chris

Joomla 3.9.25
VM 3.4.2
php 7.4.20

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10416
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: CSS question
« Reply #1 on: June 24, 2021, 20:00:24 pm »
.custom_field_C_container {
   text-align: center;
}

.custom_field_C_container span {
   font-size: 1rem !important;
}

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

cvrak

  • Jr. Member
  • **
  • Posts: 95
  • A beginner
Re: CSS question
« Reply #2 on: June 25, 2021, 09:02:00 am »
Thanks a lot! It worked!!


.custom_field_C_container {
   text-align: center;
}

.custom_field_C_container span {
   font-size: 1rem !important;
}