• Resolved meravjon

    (@meravjon)


    Hi
    I created a child theme and I did some changes. But i do have some problems. I don’t know why but some of the changes doesn’t work when i do them in the file style.css and I must use custom CSS witch is less convenient.
    now I’m trying to change the carousel control direction with this:

    .tc-carousel-control {
    direction: rtl;
    }

    but it doesn’t work.
    this is my site:
    http://www.easy-chemistry.co.il

Viewing 7 replies - 1 through 7 (of 7 total)
  • You have an error at the very start of your child-theme style.css:

    /* change navigation bar float */
    .navbar .nav>li {
    float: right;
    li {
    line-height: 30px;
    }

    Thread Starter meravjon

    (@meravjon)

    Hi d4z_c0nf
    Thanks for reply.
    I fixed that. but it still doesn’t work

    And now is ’cause, you have this :

    .tc-carousel-control {
    direction: ltr;
    }

    in your custom css (Appearance -> Customize -> Advanced options -> Custom CSS)
    which overrides this in your child-theme style.css

    .tc-carousel-control {
    direction: rtl;
    }

    hope this helps.

    Thread Starter meravjon

    (@meravjon)

    Oh thanks man.
    Do u think i can move all the custom css to the child-theme style.css, to prevent mistakes like that?

    Well, the thing is, if you move all the custom-css in your child-theme style.css you can still have that problem, the thing is that one (me included) should remember what he does. And this is very hard 🙂
    But:
    1) I prefer having my css in one place, and I prefer the child-theme style.css if I need a child-theme
    2) To find the reason of problems like that you should use some tools, like firefox extension Firebug, or google-chrome inspect element (I prefer this one).

    Cheers

    Thread Starter meravjon

    (@meravjon)

    Great, thank you.

    You’re welcome 😉

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘css editing’ is closed to new replies.