Can I turn off the responsive functions?

Home Forums Omega Child Can I turn off the responsive functions?

This topic contains 3 replies, has 2 voices, and was last updated by  han 6 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1844

    Athen
    Participant

    Hi,

    Our theme does not match for a responsive view on tablets and smartphones, can I do something, so that the theme does not “shrink”?

    Basicly I just need a fixed width on all platforms :)

    #1870

    han
    Keymaster

    What theme you use?

    #1873

    Athen
    Participant

    Omega :)

    #2077

    han
    Keymaster

    You need to rewrite style.css to turn off responsive function (see below). I recommend to use Omega Child Theme, you’ll get non responsive version as well.

    @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
    
    /* Baseline Reset (normalize.css 2.1.2)
    	Link: http://necolas.github.com/normalize.css/
    --------------------------------------------- */
    
    article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
    
    /* Box Sizing
    --------------------------------------------- */
    
    *,
    input[type="search"] {
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing:    border-box;
    	box-sizing:         border-box;
    }
    
    /* Float Clearing
    --------------------------------------------- */
    
    .archive-pagination:before,
    .clearfix:before,
    .entry:before,
    .entry-pagination:before,
    .post-navigation:before,
    .footer-widgets:before,
    .nav-primary:before,
    .nav-secondary:before,
    .site-container:before,
    .site-footer:before,
    .site-header:before,
    .site-inner:before,
    .wrap:before {
    	content: " ";
    	display: table;
    }
    
    .archive-pagination:after,
    .clearfix:after,
    .entry:after,
    .entry-pagination:after,
    .post-navigation:after,
    .footer-widgets:after,
    .nav-primary:after,
    .nav-secondary:after,
    .site-container:after,
    .site-footer:after,
    .site-header:after,
    .site-inner:after,
    .wrap:after {
    	clear: both;
    	content: " ";
    	display: table;
    }
    
    /*
    Defaults
    ---------------------------------------------------------------------------------------------------- */
    
    /* Typographical Elements
    --------------------------------------------- */
    
    html {
    	font-size: 62.5%; /* 10px browser default */
    }
    
    body {
    	color: #666;
    	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    	font-size: 16px;	
    	font-weight: 300;
    	line-height: 1.625;
    	background-color: #fff;
    }
    
    a,
    button,
    input:focus,
    input[type="button"],
    input[type="reset"],
    input[type="submit"],
    textarea:focus {
    	-webkit-transition: all 0.1s ease-in-out;
    	-moz-transition:    all 0.1s ease-in-out;
    	-ms-transition:     all 0.1s ease-in-out;
    	-o-transition:      all 0.1s ease-in-out;
    	transition:         all 0.1s ease-in-out;
    }
    
    ::-moz-selection {
    	background: #333;
    	color: #fff;
    }
    
    ::selection {
    	background: #333;
    	color: #fff;
    }
    
    a {
    	color: #999;
    	text-decoration: none;
    }
    
    a:hover,
    a:focus {
    	color: #666;
    	text-decoration: none;
    }
    
    p {
    	margin: 0 0 24px;
    	padding: 0;
    }
    
    strong {
    	font-weight: 700;
    }
    
    ol, ul {
    	list-style: none;
    }
    
    ul {
    	list-style: disc outside;
    	margin: 0 0 25px 48px;
    	padding: 0;
    }
    
    ol {
    	list-style-type: decimal;
    	margin: 0 0 25px 48px;
    }
    
    ol ol {
    	list-style: upper-roman;
    }
    
    ol ol ol {
    	list-style: lower-roman;
    }
    
    ol ol ol ol {
    	list-style: upper-alpha;
    }
    
    ol ol ol ol ol {
    	list-style: lower-alpha;
    }
    
    ul ul, ol ol, ul ol, ol ul {
    	margin-bottom: 0;
    }
    
    dl {
    	margin: 0 0 25px 5px;
    }
    
    dl dt {
    	font-weight: bold;
    	margin: 10px 0 0 0;
    }
    
    dl dd {
    	margin: 5px 0 0 24px;
    }
    
    blockquote,
    blockquote::before {
    	
    }
    
    blockquote {
    	margin: 0;
    	padding: 24px 40px;
    }
    
    blockquote::before {
    	content: "\201C";
    	display: block;
    	font-size: 30px;
    	height: 0;
    	left: -20px;
    	position: relative;
    	top: -10px;
    }
    
    pre {
    	background-color: #F9F9F9;
    	overflow: scroll;
    	padding: 0 20px;
    	white-space: pre;
    }
    
    cite {
    	font-style: normal;
    }
    
    /* Table
    --------------------------------------------- */
    
    table {
    	border: 1px solid #e5e5e5;
    	border-collapse: collapse;
    	border-spacing: 0;
    	margin-bottom: 25px;
    }
    
    table caption {
    	margin: 0 0 5px;
    	font-size: 15px;
    	font-variant: small-caps;
    }
    
    th,td {
    	padding: 10px;
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	-ms-box-sizing: border-box;
    	box-sizing: border-box;
    }
    
    .widget th,
    .widget td {
    	padding: 5px 2px;
    }
    
    th {
    	border-bottom: 1px solid #e5e5e5;
    	border-right: 1px solid #e5e5e5;
    	background: #f5f5f5;
    	font-size: 15px;
    	font-weight: normal;
    	text-align: left;
    }
    
    td {
    	border-bottom: 1px solid #e5e5e5;
    	border-right: 1px solid #e5e5e5;
    }
    
    /* Headings
    --------------------------------------------- */
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    	color: #333;
    	font-family: 'Open Sans', sans-serif;
    	font-weight: normal;
    	line-height: 1.2;
    	margin: 0;
    	margin-bottom: 16px;
    	padding: 0;
    }
    
    h1 {
    	font-size: 36px;
    }
    
    h2 {
    	font-size: 30px;
    }
    
    h3 {
    	font-size: 24px;
    }
    
    h4 {
    	font-size: 20px;
    }
    
    h5 {
    	font-size: 18px;
    }
    
    h6 {
    	font-size: 16px;
    }
    
    /* Objects
    --------------------------------------------- */
    
    embed,
    iframe,
    img,
    object,
    video {
    	max-width: 100%;
    }
    
    img {
    	height: auto;
    	width: auto\9; /* IE8 */
    }
    
    /* Forms
    --------------------------------------------- */
    
    input,
    select,
    textarea {
    	background: #fff;
    	border: 1px solid #ddd;
    	color: #999;
    	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    	font-size: 14px;
    	padding: 16px;
    	max-width: 100%;
    }
    
    input:focus,
    textarea:focus {
    	border: 1px solid #aaa;
    	outline: none;
    }
    
    ::-moz-placeholder {
    	color: #999;
    }
    
    ::-webkit-input-placeholder {
    	color: #999;
    }
    
    button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
    	background: #333;
    	border: none;
    	box-shadow: none;
    	color: #fff;
    	cursor: pointer;
    	letter-spacing: 1px;
    	padding: 16px 24px;
    	text-transform: uppercase;
    	width: auto;
    }
    
    button:hover,
    input:hover[type="button"],
    input:hover[type="reset"],
    input:hover[type="submit"] {
    	opacity:0.8;
    	filter:alpha(opacity=80); /* For IE8 and earlier */	
    }
    
    input[type="search"]::-webkit-search-cancel-button,
    input[type="search"]::-webkit-search-results-button {
    	display: none;
    }
    
    /*
    Structure and Layout
    ---------------------------------------------------------------------------------------------------- */
    
    /* Site Containers
    --------------------------------------------- */
    
    .wrap {
    	margin: 0 auto;
    	width: 980px;
    }
    
    .site-inner {	
    	clear: both;
    	padding-top: 40px;
    }
    
    /* Column Widths and Positions
    --------------------------------------------- */
    
    /* Content */
    
    .content {
    	float: left;
    	width: 600px;
    }
    
    .layout-2c-r .content,
    .page-template-left-sidebar .content {
    	float: right;
    }
    
    .layout-2c-l .content {
    	float: left;
    }
    
    .layout-1c .content,
    .page-template-full-width .content {
    	width: 100%;
    }
    
    /* Primary Sidebar */
    
    .sidebar-primary {
    	float: right;
    	width: 300px;
    }
    
    .layout-1c .sidebar-primary {
    	display: none;
    }
    
    .layout-2c-r .sidebar-primary,
    .page-template-left-sidebar .sidebar-primary {
    	float: left;
    }
    
    /* WordPress
    --------------------------------------------- */
    
    .avatar {
    	float: left;
    }
    
    .alignleft .avatar {
    	margin-right: 24px;
    }
    
    .alignright .avatar {
    	margin-left: 24px;
    }
    
    .search-form input[type="submit"] {
    	border: 0;
    	clip: rect(0, 0, 0, 0);
    	height: 1px;
    	margin: -1px;
    	padding: 0;
    	position: absolute;
    	width: 1px;
    	display: none;
    }
    
    .sticky {
    }
    
    img.centered,
    .aligncenter {
    	display: block;
    	margin: 0 auto 24px;
    }
    
    img.alignnone {
    	margin-bottom: 12px;
    }
    
    .alignleft {
    	float: left;
    	text-align: left;
    }
    
    .alignright {
    	float: right;
    	text-align: right;
    }
    
    img.alignleft,
    .wp-caption.alignleft {
    	margin: 0 24px 24px 0;
    }
    
    .wp-caption {
    	max-width: 100%;
    }
    
    img.alignright,
    .wp-caption.alignright {
    	margin: 0 0 24px 24px;
    }
    
    .wp-caption-text {
    	font-size: 14px;
    	font-weight: 700;
    	margin: 0;
    	text-align: center;
    }
    
    .gallery {
    	display: block;
    	clear: both;
    	overflow: hidden;
    	margin: 0 auto 20px;
    }
    
    .gallery .gallery-row {
    	display: block;
    	clear: both;
    	overflow: hidden;
    	margin: 0;
    }
    
    .gallery .gallery-item {
    	overflow: hidden;
    	float: left;
    	margin: 0 0 16px;
    	text-align: center;
    	list-style: none;
    	padding: 0;
    }
    
    .gallery .gallery-item .gallery-icon {
    	position:relative;
    }
    
    .gallery .gallery-item .gallery-icon img {
    	width: auto;
    	max-width: 89%;
    	height: auto;
    	padding: 5%;
    	margin: 0 auto;
    }
    
    .gallery-caption {
    	margin: 0 10px;
    }
    
    .widget_calendar table {
    	width: 100%;
    }
    
    .widget_calendar th {
    	text-align: center;
    	font-weight: bold;
    }
    .widget_calendar td {
    	text-align: center;
    }
    
    .widget_search input.search-field {
    	width: 100%;
    }
    
    /* Headings
    --------------------------------------------- */
    
    .entry-title {
    	font-size: 36px;
    	word-wrap: break-word;
    	line-height: 1.2;
    }
    
    .entry-title a,
    .sidebar .widgettitle a {
    	color: #333;
    }
    
    .entry-title a:hover {
    	color: #666;
    }
    
    .archive-title {
    	font-size: 20px;
    	margin-bottom: 24px;
    }
    
    /*
    Site Header
    ---------------------------------------------------------------------------------------------------- */
    .site-header {
    	background: none repeat scroll 0 0 #F5F5F5;
    }
    
    .site-header > .wrap {
    	padding: 40px 0;
    }
    
    /* Title Area
    --------------------------------------------- */
    
    .title-area {
    	font-weight: 700;
    	padding: 16px 0;
    	text-align: center;
    }
    
    .header-image .title-area {
    	padding: 0;
    }
    
    .site-title {
    	font-size: 45px;
    	letter-spacing: 2px;
    	line-height: 1;
    	margin: 0 0 8px;
    }
    
    .site-title a,
    .site-title a:hover {
    	color: #000;
    }
    
    .site-description {
    	color: #999;
    	font-size: 16px;
    	font-weight: 300;
    	line-height: 1;
    	margin: 0;
    }
    
    /*
    Site Navigation
    ---------------------------------------------------------------------------------------------------- */
    
    .omega-nav-menu,
    .omega-nav-menu > ul {
    	clear: both;
    	color: #999;
    	letter-spacing: 1px;
    	line-height: 1.5;
    	margin: 0;
    	padding: 0;
    	width: 100%;
    	text-align: center;
    }
    
    .omega-nav-menu .menu-item,
    .omega-nav-menu .page_item {
    	display: inline-block;
    	margin: 0;
    	padding: 0;
    	text-align: left;
    }
    
    .omega-nav-menu a {
    	border: none;
    	color: #999;
    	display: block;
    	padding: 28px 24px;
    	position: relative;
    }
    
    .omega-nav-menu a:hover {
        color: #333333;
    }
    
    .omega-nav-menu .sub-menu,
    .omega-nav-menu .children {
    	left: -9999px;
    	margin: 0;
    	opacity: 0;
    	padding: 0;
    	position: absolute;
    	-webkit-transition: opacity .4s ease-in-out;
    	-moz-transition:    opacity .4s ease-in-out;
    	-ms-transition:     opacity .4s ease-in-out;
    	-o-transition:      opacity .4s ease-in-out;
    	transition:         opacity .4s ease-in-out;
    	width: 200px;
    	z-index: 99;
    }
    
    .omega-nav-menu .sub-menu a,
    .omega-nav-menu .children a {
    	background: #fff;
    	border: 1px solid #eee;
    	border-top: none;
    	font-size: 14px;
    	letter-spacing: 0;
    	padding: 16px 20px;
    	position: relative;
    	width: 200px;
    }
    
    .omega-nav-menu .sub-menu .sub-menu,
    .omega-nav-menu .children .children {
    	margin: -54px 0 0 199px;
    }
    
    .omega-nav-menu .menu-item:hover,
    .omega-nav-menu .page_item:hover {
    	position: static;
    }
    
    .omega-nav-menu .menu-item:hover > .sub-menu,
    .omega-nav-menu .page_item:hover > .children {
    	left: auto;
    	opacity: 1;
    }
    
    .omega-nav-menu > .first > a {
    	padding-left: 0;
    }
    
    .omega-nav-menu > .last > a {
    	padding-right: 0;
    }
    
    /*
    Content Area
    ---------------------------------------------------------------------------------------------------- */
    
    /* Entries
    --------------------------------------------- */
    
    .entry {
    	margin-bottom: 40px;	
    }
    
    .entry-content {
    	word-wrap: break-word;
    }
    
    .entry-content img.wp-post-image {
    	margin-bottom: 15px;
    }
    
    .entry-content img.medium,
    .entry-content img.thumbnail {
    	float: left;
    	margin: 7px 24px 24px 0;;
    }
    
    .entry-content .attachment a,
    .entry-content .gallery a {
    	border: none;
    }
    
    .entry-content .wp-caption p {
    	margin-bottom: 0;
    }
    
    .entry-meta {
    	clear: both;
    	color: #999;
    	font-size: 14px;
    }
    
    .entry-header .entry-meta {
    	margin-bottom: 24px;
    }
    
    .entry-footer .entry-meta {
    	margin: 0;
    	padding: 0px 0px 8px;
    }
    
    .entry-footer .entry-meta a {
    	display: inline-block;
    }
    
    .entry-comments-link::before {
    	content: "\2014";
    	margin: 0 6px 0 2px;
    }
    
    .entry-categories,
    .entry-tags {
    	display: block;
    }
    
    /* Entry Navigation
    --------------------------------------------- */
    
    .navigation {
    	clear: both;
    	font-size: 14px;
    	margin: 40px 0;
    }
    
    .entry .navigation a {
    	border-bottom: 1px solid #ddd;
    }
    
    .navigation li {
    	display: inline;
    }
    
    .navigation li a {
    	background: #333;
    	border-radius: 3px;
    	color: #fff;
    	cursor: pointer;
    	display: inline-block;
    	padding: 8px 12px;
    }
    
    /* Pagination
    --------------------------------------------- */
    
    .pagination .page-numbers {
    	padding: 8px 12px;
    	border: 1px solid #F5F5F5;
        border-radius: 25px 25px 25px 25px;
        padding: 8px 14px;
        margin: 0 5px 0 0;
    	display: inline-block;
    }
    
    .pagination .current {
    	background-color: #F5F5F5;
    }
    
    /* Comments
    --------------------------------------------- */
    
    .entry-comments,
    #respond {
    	background: #fff;
    	border-radius: 3px;
    }
    
    .entry-comments,
    .ping-list,
    #respond {
    	margin-bottom: 40px;
    }
    
    .entry-comments a,
    #respond a {
    	border-bottom: 1px solid #ddd;
    }
    
    .entry-comments .comment-author {
    	margin: 0;
    }
    
    .entry-comments .comment-content {
    	clear: both;
    }
    
    #respond input[type="email"],
    #respond input[type="text"],
    #respond input[type="url"] {
    	width: 50%
    }
    
    #respond label {
    	display: block;
    	margin-right: 12px;
    }
    
    ol.comment-list {
    	margin: 0;
    	padding: 0;
    }
    
    .comment-list li.ping, .comment-list li.comment {
    	list-style-type: none;
    }
    
    .comment-list .comment-content > ol, 
    .comment-list .comment-content > ul {
    	margin-bottom: 24px;
    }
    
    li.comment,
    li.pingback {
    	border: 2px solid #fff;
    	border-right: none;
    }
    
    li.comment .comment-item,
    li.pingback .comment-item {
    	background: #f5f5f5;
    	margin: 12px 0;
    	padding: 32px;
    }
    
    li.comment ol {
    	margin: 0
    }
    
    .comment .avatar ,
    .pingback .avatar{
    	margin: 0 16px 24px 0;
    }
    
    .bypostauthor {
    }
    
    .form-allowed-tags {
    	background: #f5f5f5;
    	font-size: 14px;
    	padding: 24px;
    }
    
    /*
    Sidebars
    ---------------------------------------------------------------------------------------------------- */
    
    .sidebar {
    	color: #999;
    }
    
    .widget-title {
    	word-wrap: break-word;
    }
    
    .sidebar ul,
    .footer-widgets ul {
    	margin: 0;
    }
    
    .sidebar li,
    .footer-widgets li {
    	list-style-type: none;
    	margin-bottom: 6px;
    	padding: 0;
    	word-wrap: break-word;
    }
    
    .sidebar ul > li:last-child {
    	margin-bottom: 0;
    }
    
    .sidebar .widget {
    	margin-bottom: 40px;
    }
    
    .sidebar .search-form {
    	width: 100%;
    }
    
    /*
    Footer Widgets
    ---------------------------------------------------------------------------------------------------- */
    
    .footer-widgets {
    	border-top: 1px solid #F5F5F5;
    	background: none repeat scroll 0 0 #F5F5F5;
    	padding: 40px 0 16px;
    }
    
    .footer-widgets .widget {
        margin-bottom: 24px;
    }
    
    .footer-widgets .col-3 .widget-area {
    	float: left;
    	padding: 0 3% 0 0;
        width: 33%;
    }
    
    .footer-widgets .col-4 .widget-area {
    	float: left;
    	padding: 0 3% 0 0;
        width: 25%;
    }
    
    .footer-widgets .widget-area:last-child {
    	padding: 0;
    	float: right;
    }
    
    /*
    Site Footer
    ---------------------------------------------------------------------------------------------------- */
    
    .site-footer {
    	border-top: 1px solid #F5F5F5;
    	color: #999;
    	font-size: 14px;
    	padding: 40px 0;
    	text-align: center;
    }
    
    .site-footer p {
    	margin: 0;
    }
    
    .site-footer a {
    	display: inline-block;
    }
    
    p.copyright {
    	font-size: inherit;
    	float: left;
    }
    
    p.credit {
    	float: right;
    }
    
    /*
    Media Queries
    ---------------------------------------------------------------------------------------------------- */
    
    @media only screen and (max-width: 1024px) {
    
    	.site-container {
    		width: 1024px;
    	}
    	.wrap {
    		margin: 0 auto;
    		width: 980px;
    		padding: 0 20px;
    	}
    
    }
Viewing 4 posts - 1 through 4 (of 4 total)

You must login to reply to this topic.