• Resolved sasasasaaa

    (@sasasasaaa)


    Hello, I use the button-block “complete lesson” on the lessons pages and want to add an additional css class to the button-block settings to style the buttons in a way I like.
    I can save the class BUT class does not appear in my lesson page.

    I also used standard theme. Same issue.

    Can you help me?

    If not, can you give me the css code for the block button “complete lesson” and I try to overwrite your css in my css.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sasasasaaa

    (@sasasasaaa)

    EDIT: “I can save the class BUT class does not appear in my lesson page.”

    CORRECT: I can not see the class in the source code of the lesson pages.

    Hi there!

    I have tried adding a class for the Complete Lesson button, please see this screenshot: https://d.pr/i/epahfu

    And I was able to see this class in the source code of the lesson page, kindly check this: https://d.pr/i/k5IUoX

    Can you kindly check if you’re not seeing the class you’ve added on that div section?

    Or you may try to use this class instead to target the Complete Lesson button:

    .wp-block-sensei-lms-button-complete-lesson button

    Hope this helps!

    Thread Starter sasasasaaa

    (@sasasasaaa)

    Hello, I have added the class like you but no class appears in the source code. I try to style the button in css using your class. Thanks

    Hi @sasasasaaa!

    You could try checking for any plugin conflicts to see if there’s anything that’s causing this issue on your end.

    Or are you already good with using the default class for styling the Complete Lesson button?

    Thank you!

    Thread Starter sasasasaaa

    (@sasasasaaa)

    Hi, I am fine with using the default class. Thanks.

    Hi @sasasasaaa

    I’m glad to hear you were able to work it out with the default class.

    I’m marking this thread as Resolved, however if you still need help, definitely let us know here, and mark the thread Unresolved.

    Best,
    Alba

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Block button no additinal class possible’ is closed to new replies.