Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1312442

    Enfold 4.8.4 on WordPress 5.8

    I need to create some templates that are totally different to the normal site/theme style.

    Creating body text blocks which use [developer setting] [custom css class] defined in enfold-child/style.css works totally fine.

    Trying to apply similar [custom css class] to Special Headings <H1> & etc does not work:

    Case(1) works fine SPECIAL HEADING: <h1 style=”font-family:courier; font-size:small; color:#00b0f0; text-align:left;”>SKK Workshop Utilities – Workshop Resource Test (why resources are reported wrong)</h1>

    Case(2) works fine SPECIAL HEADING: <h1 class=”skk-article-title”>SKK Workshop Utilities – Workshop Resource Test (why resources are reported wrong)</h1>

    Case(3) plain text using [developer setting] [custom css class] set to skk-article-title does not work and simply renders the default H1 style.

    I am trying to get Case(3) working so it is easier to edit and publish template articles, rather than digging around for text in html wrappers.

    You can see the three cases live online here

    thanks !

    #1312893

    Hi Hans,

    I’m getting a 404 error on the page you linked, please check. Also, which class are you trying to use in case 3? You will likely need to target the element in the following way:

    .your-custom-class h1 {
      styling goes here
    }

    Best regards,
    Rikard

    #1313043

    Hi apologies the redirect plugin has not followed the taxnonmy change, the sample page is here

    The original style.css definition is
    /* CSS – tech articles*/
    #top .skk-article-title {
    font-family: courier;
    font-size: small;
    font-weight: bold;
    color: #00b0f0;
    text-align: left;
    }

    I have added h1 so it reads … #top .skk-article-title h1 { … and that now works fine, so thankyou case closed.

    … naturally all the workaround <h1 class=”skk-article-title”> form embeds are now broken, hey ho !

    • This reply was modified 3 years, 3 months ago by hbaumhardt.
    #1313596

    Hi,
    Thank you for your patience, I see your last reply says … and that now works fine, so thankyou case closed.
    but you end with … naturally all the workaround <h1 class=”skk-article-title”> form embeds are now broken
    did you sort out this last part, and shall we close this then?

    Best regards,
    Mike

    #1313601

    Hi apologies that “all workaround … are broken” was an FYI note to myself to update them.

    That’s not on the wonderful Enfold product, so yes please close.

    • This reply was modified 3 years, 3 months ago by hbaumhardt.
    #1313605

    Hi,
    Thank you, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Can not over-ride Special Headings with [developer setting] [custom css class]’ is closed to new replies.