Site logo

[Support request] upper widget area

Home Forums Support [Support request] upper widget area

Home Forums Support upper widget area

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2410982
    francesco

    I am using a widget in the top bar with social icons, I would like to know if there is a method to make this widget appear only in the mobile version.

    p.s if it is better for me to create a block without adding other CSS, happy to hear advice on this. thank you

    #2411126
    David
    Staff
    Customer Support

    Hi there,

    GP comes with built in hide-on-* CSS Classes.
    if you use a block and in its Advanced > Additional CSS Class(es) add: hide-on-desktop hide-on-tablet then it will only display on small screen devices.

    More info here:

    https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes

    NOTE: If using GenerateBlocks Pro, it has this built in on G Blocks advanced tab

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.