Advertisement:

Author Topic: [SOLVED] How to display the search bar on all page?  (Read 3417 times)

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: [SOLVED] How to display the search bar on all page?
« Reply #15 on: November 13, 2017, 06:21:12 pm »
it did not affected even I have increased margin-top: untill 70 px
I have also tried ;
@media only screen and (max-width: 740px) {
    .main-search { margin-bottom: 70px !important; }

This also did not affected, I have cleared cache each time and checked.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [SOLVED] How to display the search bar on all page?
« Reply #16 on: November 13, 2017, 06:30:40 pm »
Sorry, works for me here...  ???

Regards

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: [SOLVED] How to display the search bar on all page?
« Reply #17 on: November 13, 2017, 06:40:56 pm »
<div class="wrapper wrapper-flash">
<h6 class="xxxx">

Under "wrapper-flash" given up, I had inserted a h6> text line ( I wrote some short informations there )

I used your code for this H6> class and now space between search-bar and  <div class="wrapper wrapper-flash"><h6 class="xxxx"> is good.

Code changed as ;
@media only screen and (max-width: 740px) {
    .xxxx { margin-top: 70px !important; }

Thank you, solved

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: [SOLVED] How to display the search bar on all page?
« Reply #18 on: January 04, 2018, 03:11:05 am »
Can you also advice how to display search bar on all page for OsclassWizard Theme?
It is not same with BENDER theme and above mentioned code is not exist into Wizard Theme
« Last Edit: January 04, 2018, 03:12:39 am by mrtsoftware »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [SOLVED] How to display the search bar on all page?
« Reply #19 on: January 04, 2018, 02:10:39 pm »
Hi,

osclasswizards/header.php

Locate:

Code: [Select]
if( osc_is_home_page() ) {
if(osc_get_preference('show_banner', 'osclasswizards_theme')=='1'){

Replace with:

Code: [Select]
// if( osc_is_home_page() ) {
        if( 1 == 1 ) {
// if(osc_get_preference('show_banner', 'osclasswizards_theme')=='1'){
if(osc_is_home_page() && osc_get_preference('show_banner', 'osclasswizards_theme')=='1'){

Regards
« Last Edit: January 04, 2018, 02:13:55 pm by teseo »

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: [SOLVED] How to display the search bar on all page?
« Reply #20 on: January 04, 2018, 04:47:51 pm »
Thank you , it works..