Centre image and responsive images

  • Author
    Posts
  • #3123
    Andreas Torgersen

    Hello
    I have 2 questions:

    When I have the mobil view enabled, the images I have added in the “Presentation page” under the folder “Bottom text 1″ is not responsive. The images are then cutted. How can I solve this?
    I also hvae a probems with centering images that I’m adding under “Buttom text 1”. I have tried to type in html code for centering image in the “Button text 1, but it doesn’t show up in the webpage, and when I going back to edit mode, the code I typed have disappered. I have tried to use the code <center><img src=”imgName.jpg”</center>.

    I would appreciate if someone could tell me if there is any solution to this problems and give me a step to step guide, because I’m new to WordPress and Html/CSS coding. 

    #3130
    Zed
    Cryout Creations mastermind

    The limits of using HTML in the frontpage inputs is somewhat explained in the FAQs (question C20).

    I don’t see <center> in the allowed tags, so you’ll have to find a workaround involving classes and text-align: center. Without seeing what you are trying to do, I cannot guess a valid CSS solution.

    To make the images responsive, they need to have relative (to parent) sizes, like 15%, 30%, 100%… The parent (container) also needs to have relative size to its parent… and so on…


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #3140
    Andreas Torgersen

    Hello, if you go to my page at http://www.seoc.no, you will see a animated 3d man pointing at a table. I’m trying to get this picture centered.

    I have already tried to put the relativ sizes, but it seems like that this is not supported in the field “Extra text 1” under the folder “Presentation page”. Can you please tell me if it’s right that this is not supported, and if so, will this be corrected in the next update?

    I also wonder if it’s possible to create a footer to be shown under “Extra text 2”?

    #3159
    Zed
    Cryout Creations mastermind

    There were a lot of images on that page when I last checked. Now it seems you’ve removed that area of text.

    Try adding class=”aligncenter” to all the images you wish to center.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #3192
    Andreas Torgersen

    Thank you for your help. Yes, I rearranged the images a little bit;)  I have now managed to fix it. But it was a need for CSS editing to be able to center images.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Centre image and responsive images’ is closed to new replies.