Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Moduele Blue bar on main content page

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi

The corporation template I have is using the blue bar across the top of modules. I am using Hikashop, and would like to be consistent and would like the blue bar across the top of the main content area.

If you look at this page
www.ecomad.com.au/mmp_upgrade/e-shop/shop-categories/draught-seals/product/eco-seal-white

is it possible to get a blue bar across the top above the "Your Energy Saving Solutions Store" so that it looks like the shopping cart module to the right of the main content.

Thanks
  • Huski's Avatar
  • Huski
  • 12 Month basic
  • 264 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

I would add a module prefix to the module to make sure it doesn't affect pages - unless you want it on all pages?

Can you add that and then I can provide a style for you

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Created a suffix called "ShopTitle"

I had a play around and got something similar but it was only the size of the module in the above content position - not across the full main content area.
  • Huski's Avatar
  • Huski
  • 12 Month basic
  • 264 posts
  • Karma: 0
The administrator has disabled public write access.
Try adding

.ShopTitle h1 {background: #2185c5; font-size:2.5em;color:#fff; padding:.5em 0;text-align:center;}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
If you want it to go the full width across that becomes a lot more complicated

I would also removed any inline styling on the element

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Still learning Css.

Your code worked - thanks. I played around some more and managed to get it to do what I wanted

div#abovecontent div.moduletable.ShopTitle {
position: absolute;
top: -10px;
left: 0px;
width: 100%;
}

But it doesn't look good on smaller screens. Seems the module I have placed at the top which is a customHTML using Modules anywhere plugin, sits on top of the Joomla main content where Hikashop is. See here.
www.ecomad.com.au/mmp_upgrade/eco-store/draught-seals

I can see its complicated. Any workaround for this thats easy - if not I will leave it with your code.
  • Huski's Avatar
  • Huski
  • 12 Month basic
  • 264 posts
  • Karma: 0
The administrator has disabled public write access.
The padding would need to be removed from #midCol and then added back to a div lower down in the code

It may affect other divs that now lack padding

so you could try

#midCol {padding: 0 0 30px;}

#midCol main {padding-left:30px;padding-right:30px}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers