Quote

We're also available for Custom Joomla Development

Hire us now

Place Module in Modal in header as a button

Hello,

We currently have a module in modal on the home page of our website set to load on page load, in the center of the page.

We want to change this, to be a button in the header of our website, so when someone clicks the button, this same content and box will appear.

I having trouble figuring out what html to put in the header index.php file of our website to get this to happen. Can you please help?
       
  • Replied by admin on Tuesday, January 30 2018, 12:43 AM · Hide· #1
    If the answer is yes then you could add a code like this in the top of your template's index.php file :

    <div class="top-banner-quote"><div class="row"><div class="small-12 columns"> <p> Place your text in here < a href="/mim-open-button" class="button tiny">Open Modal</a></p></div></div></div>

    and adding this code to your css file :
    .top-banner-quote {
    height: 72px;
    background: url('/../images/bg-quote-banner.jpg') #1CA8E5;
    padding: 0;
    color: #fff;
    text-align: center;
    margin: 0;
    }
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  •  
    Replied by admin on Tuesday, January 30 2018, 12:14 AM · Hide· #2
    Hi, Are you looking for something like this website have on the top section?
    We're also available for Custom Joomla Development. Hire us now
    • hollface - more than a month ago
      I do not see a link to the website you are referring to...?
    • admin - more than a month ago
      Hi, sorry I mean this website = templateplazza.com
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments