Add module position as background of another module postition
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 36
- Joined: Sat Aug 24, 2013 2:30 pm
Add module position as background of another module postition
Hello forum.
I'm building a template from scratch for joomla 3 for a real estate website.
Im using joomla since 2011 and i know enough of how to use bootstrap for joomla 3, ofcourse improvement is needed too.
I want to build a design like this->http://amsolutions.weburl.ro/corporatex ... index.html, in which the map is a background of the filter/search.
Nothing else matters than this feature in which one module position for map is the background of another module position that is filter.
So, the question is how to assign 2 module positions that the one is the background of the other position?
I'm building a template from scratch for joomla 3 for a real estate website.
Im using joomla since 2011 and i know enough of how to use bootstrap for joomla 3, ofcourse improvement is needed too.
I want to build a design like this->http://amsolutions.weburl.ro/corporatex ... index.html, in which the map is a background of the filter/search.
Nothing else matters than this feature in which one module position for map is the background of another module position that is filter.
So, the question is how to assign 2 module positions that the one is the background of the other position?
-
- Joomla! Apprentice
- Posts: 8
- Joined: Thu May 05, 2016 12:42 am
Re: Add module position as background of another module postition
Hi,
If you check that template, you can see that they have used a div with a class (<div class="span3">) for the search modules, and styled it with CSS.
So what you should do is, assign the search module below the map (To a module position) and style it with CSS.
Hope this helps.
If you check that template, you can see that they have used a div with a class (<div class="span3">) for the search modules, and styled it with CSS.
Code: Select all
.span3 {
float: right;
margin-right: 80px;
margin-top: -390px;
position: relative;
z-index: 0;
}
.span3 {
width: 220px;
}
Hope this helps.
-
- Joomla! Enthusiast
- Posts: 227
- Joined: Mon Feb 11, 2013 9:22 am
Re: Add module position as background of another module postition
Is the original question not asking how you can overlay a module on top of another?
I'm assuming the map would be a module too; is there any way to layer Joomla modules on top of one another?
Perhaps there is a Joomla map extension with search facility? Such as this one with a two minute search on Google: http://www.demo-joomunited.com/my-maps- ... ion-search
I'm assuming the map would be a module too; is there any way to layer Joomla modules on top of one another?
Perhaps there is a Joomla map extension with search facility? Such as this one with a two minute search on Google: http://www.demo-joomunited.com/my-maps- ... ion-search
- JTema
- Joomla! Guru
- Posts: 733
- Joined: Sun Apr 13, 2008 8:10 pm
Re: Add module position as background of another module postition
That is possible I think. At least I ve made such a thing here http://ttkder.org.tr/ you can see header is random image module changing image on every page loading and search module on it.JohnSmithers wrote:Is the original question not asking how you can overlay a module on top of another?
I'm assuming the map would be a module too; is there any way to layer Joomla modules on top of one another?
Perhaps there is a Joomla map extension with search facility? Such as this one with a two minute search on Google: http://www.demo-joomunited.com/my-maps- ... ion-search
http://www.joomlatema.net - Joomla Extensions and Templates
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template
- Per Yngve Berg
- Joomla! Master
- Posts: 30923
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
- JTema
- Joomla! Guru
- Posts: 733
- Joined: Sun Apr 13, 2008 8:10 pm
Re: Add module position as background of another module postition
Yes i also have used css absolute positioning.
http://www.joomlatema.net - Joomla Extensions and Templates
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri May 06, 2016 12:08 pm
Re: Add module position as background of another module postition
I also have the same questions and unresolved it, someone can help me.?the planet wrote:Hello forum.
I'm building a template from scratch for joomla 3 for a real estate website.
Im using joomla since 2011 and i know enough of how to use bootstrap for joomla 3, ofcourse improvement is needed too.
I want to build a design like this->http://amsolutions.weburl.ro/corporatex ... index.html, in which the map is a background of the filter/search.
Nothing else matters than this feature in which one module position for map is the background of another module position that is filter.
So, the question is how to assign 2 module positions that the one is the background of the other position?
phim sex, jav hd
Last edited by adclipvtv on Sat May 07, 2016 2:37 am, edited 1 time in total.
- JTema
- Joomla! Guru
- Posts: 733
- Joined: Sun Apr 13, 2008 8:10 pm
Re: Add module position as background of another module postition
You can use the codes below as an example;
these are html codes for index.php
these are css codes
these are html codes for index.php
Code: Select all
<div class="header_wrap">
<!-- RANDOM IMAGE -->
<div class="random-image">
<jdoc:include type="modules" name="<?php $this->('randomimage') ?>" style="raw" />
</div>
<!-- //RANDOM IMAGE -->
<div class="head-search">
<jdoc:include type="modules" name="<?php $this->('head-search') ?>" style="raw" />
</div>
</div><!--end of header_wrap -->
Code: Select all
.header_wrap {
height: 121px;
position: relative;
}
.head-search {
position: absolute;
top: 20px;
}
http://www.joomlatema.net - Joomla Extensions and Templates
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template