• Resolved Selim

    (@devxpe)


    I want change .img-cont height : 100vh !important

    but cannot effect my changes how can I do this changes using with transitional mode

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Selim

    (@devxpe)

    I use code snippet. I cannot inject any code into function.php because theme owner is encrypt theme

    Plugin Support Milind More

    (@milindmore22)

    Hello @devxpe

    Thank you for contacting us.

    To add custom CSS to your theme, please navigate to Admin-> Appearance > Customize > Additional CSS in your WordPress dashboard. You can input your styles in the provided field.

    As a best practice, we recommend avoiding the !important declaration in your CSS. Instead, using a more specific selector is the preferred method for overriding styles, as it improves code maintainability.`

    for example

    html[amp] .img-cont { 
      height: 100vh;
    }

    Please let us know if you require any further assistance.

    Thread Starter Selim

    (@devxpe)

    @milindmore22 Thank your for your assist!

    I applied your suggestion but didn’t work. Help me please

    • This reply was modified 7 months, 1 week ago by Selim.
    • This reply was modified 7 months, 1 week ago by Selim.
    Thread Starter Selim

    (@devxpe)

    https://prnt.sc/rtExKZ27yuf4
    https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages

    I tried this also but didnt work

    this is what I have see

    • This reply was modified 7 months, 1 week ago by Selim.
    Plugin Support Milind More

    (@milindmore22)

    Hello @devxpe

    As we checked, we didn’t see CSS being added on your site, can you please confirm that you have added it additionally please clear any cache that you are using?

    Thread Starter Selim

    (@devxpe)

    It didn’t work I used fastest cache but still don’t work

    Plugin Support Milind More

    (@milindmore22)

    Hello @devxpe

    Thank you for trying the code snippet. Can you please share your site health information using this form so we can check which theme you are using for AMP and provide you with better solutions?

    Plugin Support Milind More

    (@milindmore22)

    @devxpe As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.