0
Welcome Guest! Login
0 items Join Now

I like to modify the body font size, no way in the template manager ?

    • Patrick Toulze's Avatar
    • Patrick Toulze
    • Elite Rocketeer
    • Posts: 1810
    • Thanks: 18
    • Marketing - Web Designer

    Re: I like to modify the body font size, no way in the template manager ?

    Posted 8 years 5 months ago
    • I want to add this on an Isotope RT Template.

      You can see an old version on my live Space —> www.grafcomm.ca/graf2/index.php/en/

      The site is actually on my local Mamp Server.
    • Graphic Designer - Marketing -Web Sites — Trying to become a decent human being.
      www.grafcomm.ca
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: I like to modify the body font size, no way in the template manager ?

    Posted 8 years 5 months ago
    • Use this code:
      <script type="text/javascript">
      	 $(document).ready(function() { 
      		$('#incfont').click(function(){	   
              curSize= parseInt($('#g-page-surround').css('font-size')) + 2;
      		if(curSize<=20)
              $('#g-page-surround').css('font-size', curSize);
              });  
      		$('#decfont').click(function(){	   
              curSize= parseInt($('#g-page-surround').css('font-size')) - 2;
      		if(curSize>=12)
              $('#g-page-surround').css('font-size', curSize);
              }); 
      	});
      </script>
    • Available for CUSTOM WORK with Joomla, WordPress and Grav Templates and Gantry Framework!
  • Re: I like to modify the body font size, no way in the template manager ?

    Posted 8 years 3 months ago
    • OK, so I tried adding the code that was given in this thread. I changed the core font to 20 (as a test) and nothing happened.
      I must be missing something. Could I get some help? I know nothing of CSS so maybe there were some openers and/or closers I needed to have that wasnt added automatically...maybe?
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: I like to modify the body font size, no way in the template manager ?

    Posted 8 years 3 months ago
  • Re: I like to modify the body font size, no way in the template manager ?

    Posted 8 years 3 months ago
    • It is on reachingbolivia.com but I have many sites I am planning to use the Rocket themes on. So an easy way to make this happen would be greatly appreciated.
      This site hapens to be using Callisto (v1.3.6 / rt_callisto), if that helps.

      I dont mind to have to edit a little code if I have to. I will need help/direction as I dont know much coding. But if I know what needs to be changed and how, I am comfortable enough to go in and make those changes.
    • Last Edit: 8 years 3 months ago by Robert Murray.

Time to create page: 0.058 seconds