OS Property support center

Os Quicksearch

  • mirved
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #54416 by mirved
Os Quicksearch was created by mirved
Hi everyone ..

When i changed the position background still center
Attachments:

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #54417 by Mr. Dam
Replied by Mr. Dam on topic Os Quicksearch
Hi,
We have solved the issue for you. To solve the issue, please follow these steps
Open file: root > templates > osprealestate > html > mod_osquicksearch > default.php
find
if($module_position == 0){
?>
<style>
.os_search{
left:0px;
right:0px;
}
</style>
<?php
}elseif($module_position == 1){
?>
<style>
.os_search{
left:<?php echo $distance;?>px;
}
</style>
<?php
}elseif($module_position == 2){
?>
<style>
.os_search{
right:<?php echo $distance;?>px;
}
</style>
<?php
}

and replace by

if($module_position == 0){
?>
<style>
.os_search,.os_search_bg{
left:0px !important;
right:0px !important;
}
</style>
<?php
}elseif($module_position == 1){
?>
<style>
.os_search,.os_search_bg{
left:<?php echo $distance;?>px !important;
}
</style>
<?php
}elseif($module_position == 2){
?>
<style>
.os_search,.os_search_bg{
right:<?php echo $distance;?>px !important;
}
</style>
<?php
}

and open file templates/osprealestate/local/css/themes/red (or other colors)/custom.css
find

.os_search_bg {
background: none repeat scroll 0 0 #cc0000;
border-radius: 10px;
left:0;
right:0;
bottom: 30px;
margin: 0 auto;
max-width: 720px;
min-height: 270px;
opacity: 0.7;
position: absolute;
width: 100%;
z-index: 998;
}

and change to

.os_search_bg {
background: none repeat scroll 0 0 #cc0000;
border-radius: 10px;
bottom: 30px;
margin: 0 auto;
max-width: 720px;
min-height: 270px;
opacity: 0.7;
position: absolute;
width: 100%;
z-index: 998;
}

Good luck
Dam

Please Log in or Create an account to join the conversation.

  • mirved
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #54423 by mirved
Replied by mirved on topic Os Quicksearch
dam thanks for help bur did u try right side ? left side is ok but when i change the right side is the same problem

thanks for help
mirved

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #54428 by Mr. Dam
Replied by Mr. Dam on topic Os Quicksearch
Hi Mirved,
We have solved the issue for you
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • mirved
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #54429 by mirved
Replied by mirved on topic Os Quicksearch
thanks for help dam but now logo is the top is not centre now ? really i don't know

but i know I'm bad :)

thanks for help

Please Log in or Create an account to join the conversation.

  • mirved
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #54504 by mirved
Replied by mirved on topic Os Quicksearch
dam may i teach ? how can u do that ? logo is centre now? when i change the template colour logo is the top again ?

Please Log in or Create an account to join the conversation.

  • Truong Tong Quang
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #54564 by Truong Tong Quang
Replied by Truong Tong Quang on topic Os Quicksearch
Hi
you add css in folder:templates/osprealestate/local/css/themes/red/template.css
line 2245 :
.logo-image {
padding-top: 20px;
}
Thanks
Truong

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan