Jump to content

[SOLVED] HomeSlider TopRight and BlockStore TopLeft


Recommended Posts

you will have to move homeslider to top, and also our stores module to top.

 

then in homeslider.tpl add: (top of the file)

<div class="mytopsection">
  <div class="myhomeslider">

and in our stores block template file add:

  </div>
  <div class="mystores">
  HERE CODE OF TEMPLATE FILE
  </div>
</div>

in modules positions move modules to the bottom of displayTop (not displayHeader!)

- homeslider module

- our stores block

 

 

you will be able to stylize blocks then (<div class="myhomeslider"> for slider and <div class="mystores"> for my stores block)

Link to comment
Share on other sites

  • 2 weeks later...

hello im i right to put this code on blockstore.php

 

this code was inserted right after function unistall?

 

this is the code:

 

public function hookdisplayTop()
{
if(!$this->_prepareHook())
return;
if ($this->context->getMobileDevice() != false)
return false;
$this->context->controller->addCSS($this->_path.'blockstore.css');
return $this->display(__FILE__, 'blockstore.tpl');
}
Link to comment
Share on other sites

i think its right that blockstore is above homeslider. and code the element.style ..please see attached file

 

element.style {

  1. width202px;
  2. floatright; }

 

 

... can u please teach me on how to code this element.style? I already tried it code on blockstore.tpl like this <div id="stores_block_left" class="block" style="float:right; width:202px; "> but theres no effect.

post-730094-0-22196200-1387537519_thumb.png

Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...