normal Template width smaller

More
10 years 11 months ago #5208 by Kha Ton
I really like this emagazine template but can we make the width template smaller like 1000px or less?
or how can we make this template viewable on small mobile device ( SamsungS3, Iphone.. ) exactly the same as on desktop (for example the OT Artwork template view exactly the same on both small mobile device and on desktop).
Would you let me know how


Thanks
Have a great day

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

More
10 years 11 months ago #5209 by Linh Robert
Hi,
You seem do not want to have a responsive site. If so, you can do this to remove the responsive feature:

Edit template file index.php, add bellow code at the php section before <!doctype html>, it will be look like this:
Code:
omg_renderCustomTypoCss(); // Add this code: $document = JFactory::getDocument(); $headData = $document->getHeadData(); $scripts = $headData['scripts']; $styleSheets = $headData['styleSheets']; unset($scripts[JURI::root(true).'/media/jui/js/respond.min.js']); unset($styleSheets[JURI::root(true).'/media/jui/css/bootstrap-responsive.min.css']); $headData['scripts'] = $scripts; $headData['styleSheets'] = $styleSheets; $document->setHeadData($headData); // End add your code ?><!doctype html>

Save it and try.

Thanks

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Warning: Undefined variable $target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/

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

More
10 years 11 months ago #5220 by Kha Ton
Replied by Kha Ton on topic Re: Template width smaller

Attachment emagazine.png not found




Thank you very much for helping me quickly and it worked on small mobile device ( SamsungS3, Iphone.. ). But now it has little problem on IE that there is an extra top main menu under "GALLERY". How can we remove that? Please check attachment.

Thanks
Have a great day
Attachments:

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

More
10 years 10 months ago #5544 by Kha Ton
Replied by Kha Ton on topic Re: Template width smaller

You seem do not want to have a responsive site. If so, you can do this to remove the responsive feature:

Edit template file index.php, add bellow code at the php section before <!doctype html>, it will be look like this:

omg_renderCustomTypoCss();
// Add this code:
$document = JFactory::getDocument();
$headData = $document->getHeadData();
$scripts = $headData;
$styleSheets = $headData;
unset($scripts[JURI::root(true).'/media/jui/js/respond.min.js']);
unset($styleSheets[JURI::root(true).'/media/jui/css/bootstrap-responsive.min.css']);
$headData = $scripts;
$headData = $styleSheets;
$document->setHeadData($headData);
// End add your code
?><!doctype html>


Can I use the same code to apply for the other responsive site if I want to have smaller template??

Thanks

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

Time to create page: 0.248 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam