1. ecweb
  2. Commercial Templates
  3. Friday, 21 September 2018
  4.  Subscribe via email
Hi,
I am trying to resize the slideout column for mobile view down from 256px wide (default) to 150px.
I have found the css where I can resize the size of the slideout, however the body_panel div is dynamically moved 256px to the right when a user clicks to bring up the sidecolumn menu.
How do I change the body_panel div code which is dynamically added as transform: translateX(256px); - to instead be transform: translateX(150px);?
The web site I am working on is http://essendonbwc.org.au
ciaran Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Firstly add the following to the Custom CSS field of your template settings...

.slideout-menu {
width: 150px;
}
.slideout-open .slideout-toggle {
right: 150px;
}


Next, open your templates scripts.php (../templates/j51_kodaline/inc/scripts.php) and replace the 256 on line 32 with 150.

That should do it.

Ciaran
ecweb Accepted Answer Pending Moderation
0
Votes
Undo
brilliant :)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Join Our Newsletter




We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.