Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Do you want to remove left/right padding in mobile view or want to disable mobile responsiveness?

    Thread Starter imran13

    (@imran13)

    yes or change the size

    • This reply was modified 6 years, 2 months ago by imran13.

    To remove padding add the below code to the Customize > Custom CSS section

    body.separate-blog.separate-layout #blog-entries>* {
        padding: 5px;
    }

    To disable mobile responsiveness add the below code to the functions.php file of the child theme

    function no_meta_viewport() {
    	return false;
    }
    add_filter( 'ocean_meta_viewport', 'no_meta_viewport' );
    Thread Starter imran13

    (@imran13)

    The first code helped and the second mistake I thank

    https://prnt.sc/m1mhnh

    You need to add the second code in the functions.php file of the child theme not in the Customizer > Custom CSS section. It will disable the mobile responsiveness. Add it if you want to disable responsiveness.

    Thread Starter imran13

    (@imran13)

    CSS only works on the main page is needed to work everywhere

    • This reply was modified 6 years, 2 months ago by imran13.
    • This reply was modified 6 years, 2 months ago by imran13.

    Hello,

    add the below code to the Customize > Custom CSS section.

    .separate-layout .content-area  {
        padding: 5px;
    }
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to remove indents mobile mode’ is closed to new replies.