Okay
  Public Ticket #2056744
Cannot remove element.style
Closed

Comments

  •  9
    jonnymnemonic started the conversation

    Hi there,

    I am having trouble aligning my 'Contact' and 'Fall 2019 + Previous Courses' columns on https://jonsmuth.com/teaching. It is off-centered by just a little bit.

    The problem seems to be this:

    elements.style {

    1. position: relative;
    2. left: -15px; <---------------------------------
    3. box-sizing: border-box;
    4. width: 1025px;

    }

    I try to override the left by adding [left: 0px !important;] into Custom CSS, but nothing happens.

    Do you know how to fix this? 

    Thank you!

    Cheers,

    Jon

  •  1,559
    Laborator replied

    Hi Jon,

    Can you please include a screenshot where the problem is here, are you talking about the spacing above Contact as highlighted with the green arrow:

    medium
    (view large version)


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  9
    jonnymnemonic replied

    Hi Art,

    I hope this attachment makes sense. The text boxes are just a little bit off to the left side, though I'm not sure why. I want to have them centered if possible.

    Thanks for the help, and let me know if you have more questions.

    Best,

    Jon

  •  1,559
    Laborator replied

    Hi Jon,

    The columns were not the same size:

    medium
    (view large version)

    So i have changed the columns width and they are centered automatically.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  9
    jonnymnemonic replied

    Hi Art,

    Strange, it shows up on my Macbook as off-centered even more now. I tried doing a hard refresh and changing my browser window size, but it still looks like the attached image. I am using Chrome Version 75.0.3770.100. Is there something wrong on my end, you think?

    Best,

    Jon

  •  1,559
    Laborator replied

    Hi Jon,

    Now it is set up properly, you were using too many paddings/margins on every element which I have removed and now it looks better.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  9
    jonnymnemonic replied

    Thank you Art!!!

    Appreciate the help.

    Cheers,

    Jon

  •  1,559
    Laborator replied

    You're welcome Jon, have a great daysmile.png

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group