Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #115583

    Hello guys,

    Can i put a picture behind a text into a post or at pages?

    Thanks

    #115591
    Mahesh
    Participant

    @aggelosd7: Please post in your site url. Where actually do you want to put the image? On the single page? Let me know further.

    Regards,
    Mahesh

    #115605

    I have it on xampp server atm.
    On the single page yes.

    http://prnt.sc/f6i06d

    Imagine this. But instead of a colour i want an image.
    Thanks mate

    #115611
    Mahesh
    Participant

    @aggelosd7: Go to Dashboard=> Appearance=> Customize=> Additional CSS box and add the following CSS:

    .single #content article.post,
     .page #content article.page {
    	background-image: url('YOUR_IMG_URL_HERE');
    	background-position: center;
            background-repeat: no-repeat;
    }

    Note: Replace YOUR_IMG_URL_HERE in the above code with your desired image url.

    Regards,
    Mahesh

    #115624

    thanks mate you are the best!
    is there any code so that it doesn’t repeat the photo?

    #115635
    Mahesh
    Participant

    @aggelosd7: I’ve corrected the code with no-repeat for background image. Please update the CSS code.

    Regards,
    Mahesh

    #116456

    Is it possible to have different background images for every page? Like this but for every page a different image behind text.

    #116479
    Mahesh
    Participant

    @aggelosd7: Yes, this is possible. You’ll need to add CSS rule for each page with different image. Pages are specified by means of class.

    Regards,
    Mahesh

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Post image behind text’ is closed to new replies.