Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] editing media queries for bp-default theme

  • @rgrober

    Participant

    Hello,

    I’m trying to edit media queries in the bp-default theme.

    I’ve tried adding them to the style.css file of my child theme to no avail.

    Can someone direct me to the proper file or resource that will allow me to edit the media queries?

    Thank you very much in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • @danbp

    Participant

    @rgrober,

    can you give details please, as media queries and css are not, imo, the same thing. What do you mean by media queries in style.css ?

    Can you tell what you want to do exactly and what you have already done ?

    Also bp-default theme is no more maintained. Are you still using it ? And if so, what WP/BP version are you using ?

    @rgrober

    Participant

    @danbp, thank you for the reply!

    I was modifying media queries in the style.css of my child theme (placed at the end of the css). That is actually working now.

    My new question would be is there anyway to disable the already existing media query rules?

    I’m aware the bp-default is no longer maintained. I’m using the latest version of BP and WP.

    @danbp

    Participant

    Only thing i understand from default.css concern gallery and images rules.
    If you don’t want them, remove them or use display:none;

    bp-default styles are in bp-default/_inc/css/default.css
    To overide, you use a child-theme containing a style.css file

    @rgrober

    Participant

    @danbp, thank you for your help!

    I figured this out eventually. It seems I needed to use !important on certain attributes.

    @danbp

    Participant

    You’re welcome 😉

    It seems I needed to use !important

    You’re right, that’s good practice while overwriting BP CSS rules.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] editing media queries for bp-default theme’ is closed to new replies.
Skip to toolbar