Can't have content on the same row with an image












-1















Whenever I add two or more images one after the other, instead of displaying all of them on the same row as is normal, my new WordPress theme pushes them to a new row. I've found that if I just align each of them to the left, it displays them on the same row, but that's not really a solution, it's a workaround (+ I've got old posts where this would work as normal and I can't go back and edit all of them).



Example:



<img class="alignnone size-thumbnail wp-image-7" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/Image-placeholder-150x150.png" alt="" width="150" height="150" />text<img class="alignnone size-thumbnail wp-image-6" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/generic-image-placeholder-150x150.png" alt="" width="150" height="150" />


I've got an image, some text, and another image, that should just display one after the other, on the same row. Instead, they're each on their own row. So even if the content is after an image or before an image, it just can't be on the same row as the image itself.



To sum up: I can't add anything before or after an image, on the same row, unless I align the image to the left. I think that's a concise explanation of the issue. I just want my theme to stop this behavior and I can't figure out how.



Any help would be appreciated.



Thank you!










share|improve this question

























  • The image is likely shown with display: block, you probably want to use display: inline-block

    – DBS
    Nov 13 '18 at 17:07






  • 1





    You have to edit your theme specific style sheet to achieve this. Show us some specific code or example to help you

    – Ambrish Pathak
    Nov 13 '18 at 17:08













  • @DBS You're right, that did it. Thank you!

    – ovidiuav
    Nov 13 '18 at 21:59
















-1















Whenever I add two or more images one after the other, instead of displaying all of them on the same row as is normal, my new WordPress theme pushes them to a new row. I've found that if I just align each of them to the left, it displays them on the same row, but that's not really a solution, it's a workaround (+ I've got old posts where this would work as normal and I can't go back and edit all of them).



Example:



<img class="alignnone size-thumbnail wp-image-7" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/Image-placeholder-150x150.png" alt="" width="150" height="150" />text<img class="alignnone size-thumbnail wp-image-6" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/generic-image-placeholder-150x150.png" alt="" width="150" height="150" />


I've got an image, some text, and another image, that should just display one after the other, on the same row. Instead, they're each on their own row. So even if the content is after an image or before an image, it just can't be on the same row as the image itself.



To sum up: I can't add anything before or after an image, on the same row, unless I align the image to the left. I think that's a concise explanation of the issue. I just want my theme to stop this behavior and I can't figure out how.



Any help would be appreciated.



Thank you!










share|improve this question

























  • The image is likely shown with display: block, you probably want to use display: inline-block

    – DBS
    Nov 13 '18 at 17:07






  • 1





    You have to edit your theme specific style sheet to achieve this. Show us some specific code or example to help you

    – Ambrish Pathak
    Nov 13 '18 at 17:08













  • @DBS You're right, that did it. Thank you!

    – ovidiuav
    Nov 13 '18 at 21:59














-1












-1








-1








Whenever I add two or more images one after the other, instead of displaying all of them on the same row as is normal, my new WordPress theme pushes them to a new row. I've found that if I just align each of them to the left, it displays them on the same row, but that's not really a solution, it's a workaround (+ I've got old posts where this would work as normal and I can't go back and edit all of them).



Example:



<img class="alignnone size-thumbnail wp-image-7" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/Image-placeholder-150x150.png" alt="" width="150" height="150" />text<img class="alignnone size-thumbnail wp-image-6" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/generic-image-placeholder-150x150.png" alt="" width="150" height="150" />


I've got an image, some text, and another image, that should just display one after the other, on the same row. Instead, they're each on their own row. So even if the content is after an image or before an image, it just can't be on the same row as the image itself.



To sum up: I can't add anything before or after an image, on the same row, unless I align the image to the left. I think that's a concise explanation of the issue. I just want my theme to stop this behavior and I can't figure out how.



Any help would be appreciated.



Thank you!










share|improve this question
















Whenever I add two or more images one after the other, instead of displaying all of them on the same row as is normal, my new WordPress theme pushes them to a new row. I've found that if I just align each of them to the left, it displays them on the same row, but that's not really a solution, it's a workaround (+ I've got old posts where this would work as normal and I can't go back and edit all of them).



Example:



<img class="alignnone size-thumbnail wp-image-7" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/Image-placeholder-150x150.png" alt="" width="150" height="150" />text<img class="alignnone size-thumbnail wp-image-6" src="http://temp.ovidiuav.com/wp/wp-content/uploads/2018/10/generic-image-placeholder-150x150.png" alt="" width="150" height="150" />


I've got an image, some text, and another image, that should just display one after the other, on the same row. Instead, they're each on their own row. So even if the content is after an image or before an image, it just can't be on the same row as the image itself.



To sum up: I can't add anything before or after an image, on the same row, unless I align the image to the left. I think that's a concise explanation of the issue. I just want my theme to stop this behavior and I can't figure out how.



Any help would be appreciated.



Thank you!







html wordpress image






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 22:05







ovidiuav

















asked Nov 13 '18 at 17:03









ovidiuavovidiuav

94




94













  • The image is likely shown with display: block, you probably want to use display: inline-block

    – DBS
    Nov 13 '18 at 17:07






  • 1





    You have to edit your theme specific style sheet to achieve this. Show us some specific code or example to help you

    – Ambrish Pathak
    Nov 13 '18 at 17:08













  • @DBS You're right, that did it. Thank you!

    – ovidiuav
    Nov 13 '18 at 21:59



















  • The image is likely shown with display: block, you probably want to use display: inline-block

    – DBS
    Nov 13 '18 at 17:07






  • 1





    You have to edit your theme specific style sheet to achieve this. Show us some specific code or example to help you

    – Ambrish Pathak
    Nov 13 '18 at 17:08













  • @DBS You're right, that did it. Thank you!

    – ovidiuav
    Nov 13 '18 at 21:59

















The image is likely shown with display: block, you probably want to use display: inline-block

– DBS
Nov 13 '18 at 17:07





The image is likely shown with display: block, you probably want to use display: inline-block

– DBS
Nov 13 '18 at 17:07




1




1





You have to edit your theme specific style sheet to achieve this. Show us some specific code or example to help you

– Ambrish Pathak
Nov 13 '18 at 17:08







You have to edit your theme specific style sheet to achieve this. Show us some specific code or example to help you

– Ambrish Pathak
Nov 13 '18 at 17:08















@DBS You're right, that did it. Thank you!

– ovidiuav
Nov 13 '18 at 21:59





@DBS You're right, that did it. Thank you!

– ovidiuav
Nov 13 '18 at 21:59












1 Answer
1






active

oldest

votes


















0














DBS found the solution (first comment on the question):




The image is likely shown with display: block, you probably want to use display: inline-block







share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53286107%2fcant-have-content-on-the-same-row-with-an-image%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    DBS found the solution (first comment on the question):




    The image is likely shown with display: block, you probably want to use display: inline-block







    share|improve this answer




























      0














      DBS found the solution (first comment on the question):




      The image is likely shown with display: block, you probably want to use display: inline-block







      share|improve this answer


























        0












        0








        0







        DBS found the solution (first comment on the question):




        The image is likely shown with display: block, you probably want to use display: inline-block







        share|improve this answer













        DBS found the solution (first comment on the question):




        The image is likely shown with display: block, you probably want to use display: inline-block








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 13 '18 at 22:04









        ovidiuavovidiuav

        94




        94






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53286107%2fcant-have-content-on-the-same-row-with-an-image%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Florida Star v. B. J. F.

            Error while running script in elastic search , gateway timeout

            Adding quotations to stringified JSON object values