Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dsb01

    (@dsb01)

    apologies – just noticed it doesn’t “live” update in the custom CSS editing view like I’m used to with other themes…

    Seems I have to “publish” then refresh page.

    ..Shame that’s not mentioned in the tutorial!

    • This reply was modified 2 years, 7 months ago by dsb01.
    Thread Starter dsb01

    (@dsb01)

    ignore previous comments, maybe just an odd glitch… all custom css entries now appear to be live-updating in view.

    I have another problem though:

    have made some changes to blocks, addressing the container class through custom css via …/wp-admin/customize.php

    They are background-image urls for specific blocks on the page, which I’ve added to pre-existing classes, rather than creating custom classes, for example:

    .wp-container-8{background-image: url(‘https://test/wp-content/uploads/2022/07/Background-Image.webp’);}

    Interestingly, the background image shows up in the live view at customize.php and also in the live view of the site, but DOESN’T show in the theme editor.

    Is there any way to link these css customizations back to the editor?

    Moderator Kathryn Presner

    (@zoonini)

    Interestingly, the background image shows up in the live view at customize.php and also in the live view of the site, but DOESN’T show in the theme editor.

    Hey there @dsb01 – by “theme editor” are you referring to the Full Site Editor under Appearance > Editor? Custom CSS is not applied in the editor view (whether the post or page editor, or Site Editor) so that’s why you don’t see it there.

    Thread Starter dsb01

    (@dsb01)

    by “theme editor” are you referring to the Full Site Editor under Appearance > Editor?

    yes… I’m getting a feel for it now though, it’s more like editing the whole site as if it were a post rather than the old style of site customization using the customizer where it shows a “live view” as you edit.

    • This reply was modified 2 years, 7 months ago by dsb01.
    Moderator Kathryn Presner

    (@zoonini)

    it’s more like editing the whole site as if it were a post rather than the old style of site customization using the customizer where it shows a “live view” as you edit.

    That’s exactly right. And in theory, what you see in the editor should be fairly close to what you see on the front end.

    I’ll mark this as resolved as well, but do feel free to ask other questions as they arise!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to address additional css classes’ is closed to new replies.