New module position - How to make scalable?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Feb 26, 2013 10:24 am
Reply with quote
Report this post
Hello,

I'v added new module position "topslider", to add "Image show module" there.
Here is my code:

Code: Select all
          <div id="gkMainMenu">
             <?php
                $this->mainmenu->loadMenu($this->API->get('menu_name','mainmenu'));
                 $this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
             ?>   
          </div>
          
          <?php if($this->API->modules('topmenu')) : ?>
          <nav id="gkTopMenu">
             <jdoc:include type="modules" name="topmenu" style="<?php echo $this->module_styles['topmenu']; ?>"  modnum="<?php echo $this->API->modules('topmenu'); ?>" />
          </nav>
          <?php endif; ?>
          <?php if($this->API->modules('topslider')) : ?>
          <nav id="topslider">
             <jdoc:include type="modules" name="topslider" style="<?php echo $this->module_styles['topslider']; ?>"  modnum="<?php echo $this->API->modules('topslider'); ?>" />
          </nav>
          <?php endif; ?>
       </section>


My problem now is that this module is not scalable, if we visit it from tablets or mobiles!
What did I missed?

Many thanks
User avatar
Junior Boarder

Konrad M
Tue Feb 26, 2013 1:42 pm
Reply with quote
Report this post
Hi,
please try add to override.css
Code: Select all
#topslider img {
    display: block;
    height: auto;
    position: relative;
    width: 100%;
}

and remember to enable override.css option in template settings.
User avatar

GK User
Tue Feb 26, 2013 2:17 pm
Reply with quote
Report this post
Hello,

Thanks for your answer, I tried it and it dosen't works! And I didn't forget to enable "CSS override".
I feel there is something wrong with the configuration file! Because I have another problem with social API, can't disable it.

And I hade some problems with fonts before, couldn't fix it by editing the config, I hade to edite the config from the db!

I checked out the config file permission and there was no problems!
User avatar
Junior Boarder

Konrad M
Tue Feb 26, 2013 3:12 pm
Reply with quote
Report this post
Do you have latest template version ? Please give me url to your website.
User avatar

GK User
Tue Feb 26, 2013 3:15 pm
Reply with quote
Report this post
Yes I have, I sent you PM
User avatar
Junior Boarder

Konrad M
Tue Feb 26, 2013 5:19 pm
Reply with quote
Report this post
You are using e_Sport Image Show style and this one isn't responsive becasue this template isn't. Please try change it to bikestore which is very similar and IS should be responsive.
User avatar

GK User
Wed Feb 27, 2013 11:49 am
Reply with quote
Report this post
Hello Konrad,
Many thanks for reply, I'v changed to bikestore design and it's works fine now.

Can you please help s with this issue?
https://www.gavick.com/forums/the-world ... 22930.html

Many thanks
User avatar
Junior Boarder


cron