-
AuthorPosts
-
September 21, 2016 at 7:08 am #969746
Hi there,
I installed the quick startup pack of JA Decor but I’m missing the "latest products" at pos 5 to 8. I do not want to install a shop system, but I want to use this positions with the ssame look as in the live demo for some articles (see attached file).
can someone give me a hint how to do that???
September 21, 2016 at 10:02 am #969793If I’m adding just a 300x300px picture at pos 5, 6, 7, and 8 with:
<img src="images/joomlart/demo/300×300-gray.gif" alt=""/>
it will be shown like in the attached screenshot (not centered, with boders, …)
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 2:47 am #970026Hi
Could u share the working site URL where u published the modules .September 22, 2016 at 4:49 am #970075This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 5:22 am #970081Hi
you can use the image code as<img src="/cms/images/joomlart/demo/300x300-gray.gif" alt="" style=" width: 100%; padding: 5px; ">
wihout padding there is no space you can add border style .
September 22, 2016 at 5:59 am #970094Thanks mate,
I changed the code to 0px padding. But total width of all 4 positions is wider than the main content.
Also there is a white bar between the positions and the footer positions…See link or attached screenshot
Any chance to get this right?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 6:10 am #970099Hi
why you changed it to 0 ?
Padding is for the border space you wanted , Beside do not compare it with the Testimonial block since each module has their own style code 🙂September 22, 2016 at 6:25 am #970110Hi again,
I want the same view as the "Latest Products" view in the demo without a shop module…
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 7:04 am #970117Hi
In case you want the same view you have to copy the html code from the demo site and publish it in the custom html module .
http://prntscr.com/ckx2gt
For example code for first module :<div class="product-item grid-1x1"> <div class="image"><a href="http://ja-decor.demo.joomlart.com/index.php/en/category/product/45-bring-nature-into-the-office"><img src="http://ja-decor.demo.joomlart.com/components/com_mijoshop/opencart/image/cache/catalog/mi-3-600x600.jpg" alt="Bring nature into the office" title="Bring nature into the office" class="img-responsive"></a></div> </div>
How it look like : http://prntscr.com/ckx359
September 22, 2016 at 7:11 am #970118Tested it straight away… still not the same view…
Do I miss any Module Class suffix or something?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 7:20 am #970124Hi
What is not in the view ? If you want the same effect to come the text on hover i am afraid its comes with the Mijoshop products and does not work without custom works .September 22, 2016 at 7:25 am #970125Please take a lookm onto my site. I adjusted the hmtl code on all 4 positions (position-5 to 8) with your code but output iss still not same width than main content.
see attached screens
September 22, 2016 at 1:02 pm #970207I found a way (maybe a bit complicated but effective)
features.php: deleted spotlight-2
<!-- <?php $this->loadBlock('spotlight-2') ?> -->
Changed mainbody-features.php
<!-- //MAIN CONTENT --> <?php if ($this->countModules('features-2')) : ?> <div class="col-xs-12 <?php $this->_c('features-2') ?>"> <jdoc:include type="modules" name="<?php $this->_p('features-2') ?>" style="raw" /> </div> <?php endif ?> <?php if ($this->countModules('features-3')) : ?> <div class="col-xs-12 <?php $this->_c('features-3') ?>"> <jdoc:include type="modules" name="<?php $this->_p('features-3') ?>" style="raw" /> </div> <?php endif ?> <?php if ($this->countModules('features-4')) : ?> <div class="col-xs-12 t3-latest<?php $this->_c('features-4') ?>"> <jdoc:include type="modules" name="<?php $this->_p('features-4') ?>" style="raw" /> </div> <?php endif ?> <?php if ($this->checkSpotlight('spotlight-2', 'position-5, position-6, position-7, position-8')) : ?> <div class="col-xs-12 t3-sl t3-sl-1"> <?php $this->spotlight('spotlight-2', 'position-5, position-6, position-7, position-8', array( 'style' => 'raw' )) ?> </div> <?php endif ?>
Result: perfect! 😉
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2016 at 3:23 pm #970243Greate to hear you sort it out .
Regards
September 23, 2016 at 7:42 am #970434Just a quick question as I chaanged now the mainbody-features.php: is there a chance to mage this remanent as a new updated version of the template might override my changes?
Is there anything like the custom.css for the php part available? How to make this change uncrossable???
regards
GeerdAuthorPostsThis topic contains 17 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum