skip to Main Content

I have created a WP page using the Astra theme.

I edit it using Elementor.

I have 2 lines in my page, and it took me very long to find out where they come from.

enter image description here

If I delete all elements with Elementor, I can still see the lines, so they must be part of the underlying page.

How would I remove them?

enter image description here

Thank you!

Edit:

I think I found what @Mtxz meant, it’s under Global->Colors:

enter image description here

Change the image position does change the position of the lines.
But when I click "Remove Image", nothing happens: The lines stay there, so I wonder why they are still there.

2

Answers


  1. It seems to be a background image on your body:

    enter image description here

    Try to see if you can find body settings or related.

    Login or Signup to reply.
  2. as per @Mtxz said without any access to the site we can’t tell you where it’s coming from. but for temporary if you want to hide rather than replace then you can use the below CSS.

    Add this CSS to your active theme style.css file.

    body, .ast-separate-container {
        background: none !important;
    }
    

    Or you can add this CSS using the wp_head action hook. add this below code to your active theme functions.php file.

    function add_custom_css(){
        ?>
        <style type="text/css">
    
            body, .ast-separate-container {
                background: none !important;
            }
    
        </style>
        <?php
    }
    add_action( 'wp_head', 'add_custom_css', 10, 1 );
    

    Tested and works.

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search