Disable Top fixed wrapper at lower resolutions
7 years 10 months ago #43373
by Boradan
Disable Top fixed wrapper at lower resolutions was created by Boradan
Is there any way to disable the top fixed wrapper for mobile devices?
I can work around this by duplicating the wrapper and having the fixed one hidden on mobiles, but that means having to have a 2nd logo, description and menu.
An option to disable this at certain resolutions would be great
I can work around this by duplicating the wrapper and having the fixed one hidden on mobiles, but that means having to have a 2nd logo, description and menu.
An option to disable this at certain resolutions would be great

Please Log in or Create an account to join the conversation.
7 years 10 months ago #43374
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Disable Top fixed wrapper at lower resolutions
Hi
you could try to override the position with CSS as the script will add a css class.I have not tested yet, but using the inspector you should see what I mean
CEd
you could try to override the position with CSS as the script will add a css class.I have not tested yet, but using the inspector you should see what I mean

CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
7 years 10 months ago #43375
by Boradan
Replied by Boradan on topic Disable Top fixed wrapper at lower resolutions
I had a look in the topfixedwrapper.js file and noticed you were already doing a screen resolution check, but that it was set to 0.
Changing this to 1px above the mobile phone resolution in the responsive design made the wrapper non-fixed for mobiles.
Will this get over-written each time I modify the template now?
If so, can I modify the js file in the administrator/components/com_templateck/widgets/topfixedwrapper/topfixedwrapper.js ?
Changing this to 1px above the mobile phone resolution in the responsive design made the wrapper non-fixed for mobiles.
Will this get over-written each time I modify the template now?
If so, can I modify the js file in the administrator/components/com_templateck/widgets/topfixedwrapper/topfixedwrapper.js ?
Please Log in or Create an account to join the conversation.
7 years 10 months ago #43379
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Disable Top fixed wrapper at lower resolutions
hey that's right
I have forgotten this , I have to implement this as an option in the next version
you can use it like this but you must make the modification in
administrator/components/com_templateck/widgets/topfixedwrapper
then it will be kept when you copy the changes to update the template

you can use it like this but you must make the modification in
administrator/components/com_templateck/widgets/topfixedwrapper
then it will be kept when you copy the changes to update the template
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
7 years 10 months ago - 7 years 10 months ago #43380
by Boradan
Replied by Boradan on topic Disable Top fixed wrapper at lower resolutions
already done.
I have also modified the bootstrap.css file in the same folder to use the newer btn-large etc bootstrap buttons
newtemplates.computersystems.ie/
I have also modified the bootstrap.css file in the same folder to use the newer btn-large etc bootstrap buttons
newtemplates.computersystems.ie/
Last edit: 7 years 10 months ago by Boradan.
Please Log in or Create an account to join the conversation.
7 years 10 months ago #43382
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Disable Top fixed wrapper at lower resolutions
for the CSS I would better suggest to use the custom css
the bootstrap.css file from the component will be erased with a future update
the bootstrap.css file from the component will be erased with a future update
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.225 seconds