Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Replace entire CSS style for HTML DIV

$
0
0

@NadA wrote:

Hi, I have a website which is being displayed on PC and Mobile, They need to have different CSS files for each platform. I tried overriding the default css in /assets/css with another, but it doesnt seem to work. Does anyone know how to do this? thanks

mobile = html.Div(id="modile_override",
children=[
        html.Link(
            rel='stylesheet',
            href='/style_mobile.css'
        ),

   side_panel_layout,
    main_panel_layout,
])


Also, I have DIV with a component who’s style is set to display_none by default, is there some way to override the default styling and set it to display on the page

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images