0
Welcome Guest! Login
0 items Join Now

Afterburner: Article Top margin, home page breadcrumb

  • Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 11 months ago
    • Hello,
      I want reduce the white space at the top of an article. Website link is:
      69.89.31.134/~gbizbuil/
      However, it when I lower the margin height, it messes up my home page which has a Showcase element. The "We Bring it All Together" moves up into the breadcrumb gray bar.
      Can you help me:
      1. Remove the breadcrumb grey bar from the homepage
      2. Get the least amount of space at the top of my Articles

      Please discuss and thank you,
      Carl
  • Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 11 months ago
    • Hello,
      To exclude your breadcrumbs from your home page, open the template's index.php and find:
      <?php if ($this->countModules('breadcrumb')) : ?>
                                                   <div class="breadcrumbs-pad">
                                                        <jdoc:include type="modules" name="breadcrumb" />
                                                   </div>
                                                   <?php endif; ?>

      and change to:
      <?php if ($option != "com_frontpage") : ?>
      <?php if ($this->countModules('breadcrumb')) : ?>
      <div class="breadcrumbs-pad">
      <jdoc:include type="modules" name="breadcrumb" />
      </div>
      <?php endif; ?>
      <?php endif; ?>[/code]

      If you want to remove breadcrumbs all together, then in the light2.css find:
      div.breadcrumbs  {
      background:url("../images/light2.png") repeat-x scroll 0 -68px transparent;
      border-bottom:1px solid #E6E6E6;
      border-top:1px solid #D9D9D9;
      color:#777777;
      font-size:110%;
      font-weight:bold;
      margin:0;
      padding:7px 15px 5px;
      }

      change to:
      div.breadcrumbs{display:none;}
  • Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 11 months ago
    • Hey Mike,
      Didn't work.
      I just want the breadcrumb text gone (I figured that out using the parameters option), but the Grey breadcrumb bar remains on the Home Page. Your code replacement was inserted, but the Grey bar still remains. Can you discuss further please...
      Site is at: 69.89.31.134/~gbizbuil/
      I did remove history (cache, etc) and reloaded, but it the Grey bar didn't go away.
      Please discuss,
      Carl
  • Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 11 months ago
    • Ok, I do not see that css changed in your light2.css:
      div.breadcrumbs {
      background:url("../images/light2.png") repeat-x scroll 0 -68px transparent;
      border-bottom:1px solid #E6E6E6;
      border-top:1px solid #D9D9D9;
      color:#777777;
      display:none;
      font-size:110%;
      font-weight:bold;
      margin:0;
      padding:7px 15px 5px;
      }

      to:
      div.breadcrumbs {
      display:none;
      }
  • Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 11 months ago
    • Mike,
      Hello and thank you for working with me.

      I thought that I would make the change to index.php only. I did not want to make the change to light2.css because I did not want to remove the breadcrumbs from ALL pages. I didn't make the change to the light2.css because I want the breadcrumbs everywhere except the home page.

      Should I also make the change to light2.css? Will that fix the home page (including removing the grey bar on the home page) but leave the breadcrumbs on all other pages? Please let me know.
      Thank you,
      Carl
  • Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 11 months ago
    • Solved.
      I just needed to unselect Home for the Breadcrumbs module....
      Carl
  • Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 14 years 4 months ago
    • Within the Breadcrumbs module you can indeed choose to NOT display the module on the Home page very easily, however, if you are still adding or changing content on a regular basis is there a way to set these modules to display on ALL pages EXCEPT home so that when a new menu item is created you don't have to go back in and change anything to take the new menu item into account?
    • CMYKreative : Graphic Design , Web Design , Printing , Banner Ads , Branding and more.
    • ismadman's Avatar
    • ismadman
    • Sr. Rocketeer
    • Posts: 186
    • Thanks: 3

    Re: Afterburner: Article Top margin, home page breadcrumb

    Posted 13 years 3 days ago
    • I Know this is old but I thought I'd post the way I hid the breadcrumbs on the home page in J1.5.x.
      This wasn't in the Afterburner template though it was in Dominion.
      I searched and found this post so maybe others will too.

      Open Admin and goto extensions/template manager
      Open your template then from the MENU ITEMS drop down select HOME
      open the ADVANCED accordion and turn on the PAGE SUFFIX and save it

      This will add a class to your body tag for the home page only.

      you will then need to open your template.css file and add this to the bottom of it
       
      body.menu-home #rt-breadcrumbs {display: none ! important;}
       

      In the above code you will notice menu-HOME
      so this can be used on any page with the page suffix turned on.
      eg.
       
      body.menu-CONTACTUS #rt-breadcrumbs {display: none ! important;}
       

      Your breadcrumbs will now be hidden on your home page and display everywhere else.
    • Why isn't beer free ?
      I OWE DanG : 4
      This image is hidden for guests.
      Please log in or register to see it.

      *Payable when it reaches 24

Time to create page: 0.071 seconds