How can I disable any responsiveness from the layout?

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Thu Jun 05, 2014 10:14 am
I already set to zero the tablet and mobile widths. But when I use mobile or reduce the navigator window size, my layout appears the way I upload in attachment. I want to remove any "responsive" to make my content set to be always in the "default".

Sorry for my english.
User avatar
Fresh Boarder

GK User
Thu Jun 05, 2014 11:23 am
Hi,

Unfortunately, there's no simple option to enable/disable responsivness.

You have to edit Fest/layouts/responsive_css.php file and comment out or remove this code:

Code: Select all
// check the dependicies for the tablet.css file
if(get_option($tpl->name . "_shortcodes3_state", 'Y') == 'Y') {
   wp_enqueue_style('gavern-tablet', gavern_file_uri('css/tablet.css'), array('gavern-shortcodes-template'), false, '(max-width: '. get_option($tpl->name . '_tablet_width', '800') . 'px)');
} elseif(get_option($tpl->name . "_shortcodes2_state", 'Y') == 'Y') {
   wp_enqueue_style('gavern-tablet', gavern_file_uri('css/tablet.css'), array('gavern-shortcodes-elements'), false, '(max-width: '. get_option($tpl->name . '_tablet_width', '800') . 'px)');
} elseif(get_option($tpl->name . "_shortcodes1_state", 'Y') == 'Y') {
   wp_enqueue_style('gavern-tablet', gavern_file_uri('css/tablet.css'), array('gavern-shortcodes-typography'), false, '(max-width: '. get_option($tpl->name . '_tablet_width', '800') . 'px)');
} else {
   wp_enqueue_style('gavern-tablet', gavern_file_uri('css/tablet.css'), array('gavern-extensions'), false, '(max-width: '. get_option($tpl->name . '_tablet_width', '800') . 'px)');
}
// mobile.css is always loaded after the tablet.css file
wp_enqueue_style('gavern-mobile', gavern_file_uri('css/mobile.css'), array('gavern-tablet'), false, '(max-width: '. get_option($tpl->name . '_mobile_width', '800') . 'px)');


Then you have to add CSS with your constant width of the theme,
use Fest/css/override.css file for your own css rules (first enable this override option from Template Options -> Advanced tab) and add this code into css/override.css file:

Code: Select all
.gk-page {
   width: 1200px!important;
}
User avatar
Moderator

GK User
Thu Jun 05, 2014 2:49 pm
Hi! This doesn't work properly. The layout still "tightens" when I reduce the window size.
User avatar
Fresh Boarder

GK User
Fri Jun 06, 2014 7:05 am
Could you provide an URL to your website? (here or via PM)
User avatar
Moderator

GK User
Mon Jun 09, 2014 12:44 pm
Yes. We will launch our site today, please, if you can send to me a solution I would be very grateful.

http://cep.epicplay.com.br/wp-admin

Login:***
Pass: ****

(made just to see our website in offline mode)
User avatar
Fresh Boarder

GK User
Mon Jun 09, 2014 1:40 pm
It's public forum, so it's not a good idea to post your website backend access here (i've removed it). Please send me a private message instead. Unfortunately I can't see the backend login form on this URL:
http://cep.epicplay.com.br/wp-admin
User avatar
Moderator

GK User
Tue Jun 10, 2014 6:04 am
Hi. I sent to you the message. Did you found any solution?
User avatar
Fresh Boarder

GK User
Tue Jun 10, 2014 7:32 am
Hello,

Sorry, but I don't have any message from you in my inbox. (use "private message" link under my avatar).
User avatar
Moderator

GK User
Thu Jun 12, 2014 6:20 pm
Hi. I sent to you again. I don't know what CSS code I need to delete to deactivate the responsiveness.

In my theme options is everything deactivated.
User avatar
Fresh Boarder

GK User
Sat Jun 14, 2014 4:18 pm
Hi. Any news? :)
User avatar
Fresh Boarder

GK User
Mon Jun 16, 2014 8:03 am
Hi,

Please check your PM inbox, I still can's see your website. (I don's see the login form - only CEP 2014 maintenance logo).
User avatar
Moderator


cron