VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: VMRESLO on June 27, 2015, 15:52:01 PM

Title: How to change product h1 font
Post by: VMRESLO on June 27, 2015, 15:52:01 PM
Hello everyone!

I know this is kind of absurd but I can not find any way to change the h1 font-family in product details pages. I have added/changed css code in my joomla template.css and vm-ltr-site.css as well but it allways gets overwritten to "Open Sans". Firebug doesn't help either as it gives me the url of the page for the source (it shows testing-detail (line 35)). I am kind of new to this so any help would be greatly appreciated.

I am using VirtueMart 3.0.6.2 on Joomla 3.4.1.

Best regards!
Title: Re: How to change product h1 font
Post by: jenkinhill on June 27, 2015, 18:46:50 PM
Nobody can help if you don't post a URL!
Title: Re: How to change product h1 font
Post by: GJC Web Design on June 27, 2015, 22:11:16 PM
I would assume the font is set in your template config and is being written into the head..  a common technique...
Title: Re: How to change product h1 font
Post by: VMRESLO on June 28, 2015, 00:20:31 AM
So sorry..this is the URL:
http://eleganda.de/index.php/hochzeits-einladungen/classic-001-detail

Thank you and best regards!
Title: Re: How to change product h1 font
Post by: GJC Web Design on June 28, 2015, 00:25:46 AM
as I said .. it is in the head so one has to assume it is in the template config or hard coded there

<style type="text/css">
         h1,h2,h3,h4,h5,h6,.site-title{
            font-family: 'Open Sans', sans-serif;
         }
      </style>

anyway  - just over ride it in any css file with

h1,h2,h3,h4,h5,h6,.site-title {
  font-family: Calibri,Arial,sans-serif !important;
}
Title: Re: How to change product h1 font
Post by: VMRESLO on June 28, 2015, 10:10:00 AM
Amazing! Thank you very much!

Best regards!