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

    Hello everyone
    I have inserted a background on all pages except home with the following css-code
    Example: https://dorfgeschichte.li/links/
    It does not work for the password page
    Link: https://dorfgeschichte.li/interner-bereich-vorstand/
    I can also enter this with the page number

    Thank you
    kind regards
    Franz

    #1427113

    sadly there is no class for those pages that are password protected – so maybe it is only possible to use the page-id of those pages.

    #top.page-id-15240 .container_wrap.container_wrap_first {
      background: url(//dorfgeschichte.li/wp-content/themes/enfold/images/background-images/floral-dark-compressed.png) !important;
      background-repeat: repeat;
    }

    but: because you set the background to all pages ( except the home page ) to wrap_all container – you only need to get rid of the backgrounds overlaying this:

    #top.page-id-15240  #main,
    #top.page-id-15240 .container_wrap.container_wrap_first {
      background: transparent !important;
      min-height: 75vh
    }
    #1427116

    hallo Guienna
    ich schreibe dir mal deutsch, das ist einfacher für ich
    wenn es für dich passt?
    danke mit dem Hintergrund passt super so
    wenn ich die min-height: 75vh einstelle passt das super.

    bei den anderen seiten habe ich auch so eingestellt:
    #top:not(.home) #wrap_all {
    min-height: 75vh;
    background-image: url(/wp-content/themes/enfold/images/background-images/floral-dark-compressed.png) !important;
    background-repeat: repeat;
    }

    aber dort habe ich dann eine ganz andere höhe
    danke für deine Rückantwort
    freundliche Grüsse Franz

    #1427181

    Hi,
    It looks like Guenni007’s solution is working for you, thank you Guenni007!
    You linked to another page: https://dorfgeschichte.li/geschichte/
    but the solution seems to also be working there so I’m not sure what your new question is, perhap Google Translate is not working correctly for me?

    Best regards,
    Mike

    #1427193

    Many thanks
    Mike
    that all fits for me
    you can close this request

    kind regards
    Franzz

    #1427197

    Hi,

    Great! Glad to know that the issue has been resolved. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘show background on password page’ is closed to new replies.