Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS custom css wont work: width

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #246616
    TonyS
    Participant

    Hey guys

    I can’t seem to get my custom css code to work.

    https://isenzo.tours/st_tour/road-cycling-tour-8-night-package/

    The block under adult bookings is too small as it does’nt display the arrow dropdown and the number of adults selelected when booking.

    I’ve done an inspect element and changed the .col-sm-4 {
    width: 60%;
    }

    https://postimg.org/image/698qxvz7b/

    the width was 33% and I changed it to 60% on the inspect element page on the website and it works.

    But if I add this to my custom css code in my website, nothing happens.

    Am I doing something incorrectly?

    Tony

    #246623
    Shikkediel
    Participant

    Which stylesheet are you using for the adaptation?

    #246624
    TonyS
    Participant

    Hi Shikkediel.

    I’m sorry but i don’t really know too much about css.

    I am putting the custom code on the “page settings” custom css in visual composer.

    How do I find the stylesheet you are asking about?

    Tony

    #246628
    Shikkediel
    Participant

    I have little familiarity with WP or that particular plugin so I couldn’t tell you myself. Couldn’t you change the class of that element from col-sm-4 to col-sm-8? That’ll do the same without changing the style itself. Again, not sure if you’re able to access HTML either.

    #246629
    Shikkediel
    Participant

    Did you manage to change styles before by the way?
    The style isn’t reaching the page at all in any case.

    #246630
    TonyS
    Participant

    Thanks for trying to help me, but I don’t understand what to change.

    #246631
    Shikkediel
    Participant

    I wasn’t aware it would be so plugin specific…
    Have you ever tried to make changes before? Or did you update recently? I did come across this (matches the version on your site):

    Compatibility issue

    I would have to leave any other ideas to members that are more familiar with Visual Composer, I’m afraid.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.