Page 1 of 1

css for mobile header and mobilecontainer

Posted: Thu Feb 26, 2015 9:36 am
by Spark Chao

Hello
today I try to put image and navbar into the header.
and use the css code to let the h1 not appear.

h1[dsid=mobileheader]{
display:none!important;}

it worked,but the page will become like that.
Image

should I have to add more css code to fix it?
thanks for your help!!


css for mobile header and mobilecontainer

Posted: Thu Feb 26, 2015 12:33 pm
by Maryna Brodina

Hello!

Please describe in more details how do you want it to look like?


css for mobile header and mobilecontainer

Posted: Thu Feb 26, 2015 12:47 pm
by Spark Chao

Maryna
thanks for your reply.
when I edit the page on design view,it should be like that. Image

but when I use the preview function,the mobilecontainer content will up to the top.
and the header will cover the mobilecontainer content.
(I set the custom css to remove the header h1)


css for mobile header and mobilecontainer

Posted: Thu Feb 26, 2015 9:58 pm
by Evgene Karachevtsev

Hello Spark,

Could you please clarify, did you try to inspect your element in browser? Is your style applied? I guess some another style could rewrite it


css for mobile header and mobilecontainer

Posted: Fri Feb 27, 2015 3:15 am
by Spark Chao

Dear Evgene
I try another style still the same. Image

it should be like that.
Image


css for mobile header and mobilecontainer

Posted: Fri Feb 27, 2015 3:43 am
by Spark Chao

Dear Evgene
I create a new app ,it is ok right now!


css for mobile header and mobilecontainer

Posted: Fri Feb 27, 2015 6:59 am
by Illya Stepanov

Hi Spark -

Thank you for update!