0
Welcome Guest! Login
0 items Join Now

[SOLVED[ Adding a custom position to templates

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

    Re: [SOLVED[ Adding a custom position to templates

    Posted 10 years 10 months ago
    • 1. step wrap the mod position in a class

      <div class="rt-container">
      <?php echo $gantry->displayModules('custom-logo','standard','standard'); ?>
      <div class="clear"></div>
      </div>
    • ZioRiP's Avatar
    • ZioRiP
    • Hero Rocketeer
    • Posts: 282
    • Thanks: 0

    Re: [SOLVED[ Adding a custom position to templates

    Posted 10 years 10 months ago
    • yes, it is a big step forward hehehe thanks :)
      I was wondering why that darn logo was all the way to the left :D
      Having copied the code from the gantry documentation I didn't wrap the mod position into anything else, even if I saw that the other positions were in that class, but since I was having problems with the code I didn't want to complicate it even more... I are a real newbie... this is the very first time that I deal with these things.... probably I should have started with something simpler :D
    • ZioRiP's Avatar
    • ZioRiP
    • Hero Rocketeer
    • Posts: 282
    • Thanks: 0

    Re: [SOLVED[ Adding a custom position to templates

    Posted 10 years 10 months ago
    • Sorry to keep bugging, but even if the custom css file affects the module position (and the image as well), I cannot overlap the logo to the header-a position :(
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: [SOLVED[ Adding a custom position to templates

    Posted 10 years 10 months ago
    • try adding

      #rt-customlogo div.logo-block {
      height: 110px;
      }

      #rt-logo {
      position: absolute;
      }

      to the custom css file
    • ZioRiP's Avatar
    • ZioRiP
    • Hero Rocketeer
    • Posts: 282
    • Thanks: 0

    Re: [SOLVED[ Adding a custom position to templates

    Posted 10 years 10 months ago
    • you are a super hero!!
      Thanks.
      This image is hidden for guests.
      Please log in or register to see it.

      I would never ever have understood to use that code, with parenting and all.
      Thank you!!
      I have now understood how to tweak it as that image is not yet finished as I need to add some text and probably make it smaller, but it is simple... I would just change those 110px
      Thanks again!

Time to create page: 0.041 seconds