• Resolved simonwernsen

    (@simonwernsen)


    Hi there,
    I am new on this forum and I don’t know if i’m in the right place for my question.

    Recently I created a childtheme with the Child Theme Configurator plugin. Now I want to use custom CSS to display the shop sidebar at the top of the page, instead of the bottom of the page. So I searched on the internet and found some websites with CSS codes for this problem. I put different CSS codes in the stylesheet of my child theme, but nothing seems to happen. I don’t know what I am doing wrong and I hope someone can help me with my problem

    Best regards,
    Simon

    • This topic was modified 5 years, 9 months ago by simonwernsen.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello @simonwernsen,

    please provide the Custom CSS you used. Thanks.

    Thread Starter simonwernsen

    (@simonwernsen)

    Hello!

    Thanks for your reaction on my topic. I am sorry for my late reaction…

    I tried different Custom CSS for left sidebar on my shop page:

    @media (max-width: 768px){
    .ast-left-sidebar #content>.ast-container{
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    }
    }

    I also tried this one:

    @media only screen and (max-width: 767px)
    {
    .global-layout-left-sidebar .inner-wrapper{position: relative;}
    .global-layout-left-sidebar #sidebar-primary{position:absolute!important; margin-top:30px;}
    .global-layout-left-sidebar #primary{margin-top:590px;}
    }

    I tried some more but don’t know exactly where I found them.
    I hope you can help me out with this.

    Kind regards,

    Simon

    Thread Starter simonwernsen

    (@simonwernsen)

    Theme Author Evgeny Viner

    (@evgenyviner)

    Hey, did you manage to solve the problem? If not, pls let me know on what page of the website you were expecting changes and didn’t see any.

    Thread Starter simonwernsen

    (@simonwernsen)

    Hi!
    I did not manage to solve te problem. It’s on the shop page of my website: https://gooischvinyl.nl/shop/

    The only problem is if you go to the shop page on your mobile device, the ‘product categories’ and ‘search products’ etc. is on the bottom of the page. I want it to show at the top of the page. Hope you can help me out.

    Kind regards,

    Simon

    Theme Author Evgeny Viner

    (@evgenyviner)

    Give this one a shot

    @media only screen and (max-width: 768px)
    {
    .content-inner.section.wvc-row > div:first-child {
    display: flex;
    flex-direction: column-reverse;
    }
    }

    Theme Author Evgeny Viner

    (@evgenyviner)

    However, make sure you only deploy it on the specific page, otherwise it might make changes on other pages, where you don’t want it.

    • This reply was modified 5 years, 8 months ago by Evgeny Viner.
    Theme Author Evgeny Viner

    (@evgenyviner)

    The funniest thing – I was so busy with coming up with a solution for you, that I totally overlooked that you don’t even use our theme ) So please, for the next questions you might have please open a ticket with the theme creators. Best of luck!

    Thread Starter simonwernsen

    (@simonwernsen)

    I tried your custom css and it worked! Thank you so much for your time! And I am sorry, I don’t really know where to ask my questions. My theme creator won’t help me anymore, because my support of 6 months is over and to extend it, it costs me 50 pound or more…

    Anyways thanks for helping me out!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom css doesn’t work’ is closed to new replies.