• Resolved modoseyoum

    (@modoseyoum)


    i’m using the twenty-seventeen theme on wordpress 6.3.2 and have been trying to change the media breakpoints to extend the stacking rules i see below 767px to 992px, but everything i’ve tried so far has failed.

    what am i missing?

    thanks!

    https://i.ibb.co/tB6xVJP/sbdshot.png

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @modoseyoum,

    Thanks for getting in touch with us.

    Please let me know the process or settings through which you are trying to change the breakpoints. You can change the Spectra breakpoint by adding the below code in the wp-config.php

    define( ‘UAGB_TABLET_BREAKPOINT’, ‘800’ );

    define( ‘UAGB_MOBILE_BREAKPOINT’, ‘500’ );

    Please remember the above breakpoint will work for dynamic CSS loaded for the Spectra on the frontend.

    Looking forward to hearing from you.

    Have a nice day!

    Thread Starter modoseyoum

    (@modoseyoum)

    @mohsinbsf thanks for the reply!


    i’m getting this fatal error after adding those lines to my wp_config file:

    Fatal error: Uncaught Error: Undefined constant “‘UAGB_TABLET_BREAKPOINT’” in C:\Users\modot\Local Sites\sitebuilderdesign\app\public\wp-config.php:80 Stack trace: #0 C:\Users\modot\Local Sites\sitebuilderdesign\app\public\wp-load.php(50): require_once() #1 C:\Users\modot\Local Sites\sitebuilderdesign\app\public\wp-blog-header.php(13): require_once(‘C:\\Users\\modot\\…’) #2 C:\Users\modot\Local Sites\sitebuilderdesign\app\public\index.php(17): require(‘C:\\Users\\modot\\…’) #3 {main} thrown in C:\Users\modot\Local Sites\sitebuilderdesign\app\public\wp-config.php on line 80

    There has been a critical error on this website.



    Thread Starter modoseyoum

    (@modoseyoum)

    @mohsinbsf thanks for the reply!
    i was able to fix the fatal error (didn’t like the apostrophes) but i’m not seeing any change on the site after clearing the browser cache, wordpress cache and restarting the local environment.

    any suggestions?

    thanks again.

    Thread Starter modoseyoum

    (@modoseyoum)

    nevermind– looks like it’s working.

    thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘modifying media breakpoints’ is closed to new replies.