0
Welcome Guest! Login
0 items Join Now

H1/H2 character spacing

    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: H1/H2 character spacing

    Posted 14 years 7 months ago
    • Perhaps you mean not every template has a id of the name "rt-mainbody"?
      Something like "rt-main-surround" should be available in Quantive ...
    • Sharon Gaughan's Avatar
    • Sharon Gaughan
    • Sr. Rocketeer
    • Posts: 247
    • Thanks: 0
    • Information Science & Technology

    Re: H1/H2 character spacing

    Posted 14 years 7 months ago
    • Henning wrote:
      Perhaps you mean not every template has a id of the name "rt-mainbody"?
      Something like "rt-main-surround" should be available in Quantive ...
      And so it does, the code in joomla-root/templates/rt_quantive_j15/html/layouts/body_mainbody.php looks like this:
      <div class="rt-block">
                                  <?php if ($display_component) : ?>
                                  <div class="<?php echo $gantry->get('articlestyle'); ?>">
                                  <div class="rt-module-surround">
                                      <div class="rt-module-top"><div class="rt-module-top2"><div class="rt-module-top3"></div></div></div>
                                      <div class="rt-module-inner">
                                          <div id="rt-mainbody">
                                              <jdoc:include type="component" />
                                          </div>
                                          <div class="clear"></div>
                                      </div>
                                      <div class="rt-module-bottom"><div class="rt-module-bottom2"><div class="rt-module-bottom3"></div></div></div>
                                  </div>
                                  </div>
                                  <?php endif; ?>
                              </div>
    • Sharon Sinéad Gaughan
      Fairfax, VA  USA

      Apache / MySQL 5.0.95 / PHP 5.3.24 / Joomla! 2.5.20 / Gantry 4.1.20
      Custom: rt_hexeris-custom.css and rt_hexeris-custom.less
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: H1/H2 character spacing

    Posted 14 years 7 months ago
    • Why would you change something in this file?
      And what would that be?
      If you want to change something the index.php would be the better place.

      But really you dont have to change the mark-up.
      If there is not #rt-aminbody there will be something else.

      Use CSS, specificity and Firebug (tho I prefer to use CSS-edit on my mac)
      www.smashingmagazine.com/2007/07/27/css-...ngs-you-should-know/

      If you have issues to find the right selector with the right css-specificity just post in the forum.
      I'm pretty sure that we can help you!
  • Re: H1/H2 character spacing

    Posted 14 years 7 months ago
    • Even in non RT templates the relevant CSS is always "main" or "body" or "compnonent" normally, always a relevant tag, well always on the templates I've used so far....

Time to create page: 0.054 seconds