• jshanker

    (@jshanker)


    Hey,

    https://mountsforsolar.com/

    At the bottom of my page I inserted 3 company logos that I have arranged horizontally in the page, but they are orienting themselves vertically on my site. How can I set these 3 logos up to be horizontal?

    Appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • linux4me2

    (@linux4me2)

    You’ve got two problems that are preventing the logos from arranging themselves horizontally.

    The first is that you have two alignment classes assigned to the images, “alignnone” and “alignleft.” If you want them to arrange themselves horizontally, you need to assign only the class “alignleft” to them.

    The second problem is that the container they’re in, “entry-content,” is only 620 pixels wide, which is wide enough for the first two images to be arranged next to each other, but there isn’t enough room for the third.

    To fix that, you’d need to add a full-width div element–if the theme you’re using doesn’t have one–just beneath the main content, maybe in footer.php, to house the images.

    Be sure to use a child theme if you make changes to the theme files so your changes aren’t overwritten when you upgrade the theme.

    Thread Starter jshanker

    (@jshanker)

    Thanks for this information. I will assign correct alignments to the logos now and look into the full-width dilemma. I am pretty sure my current theme offers a full width div. I have never made a child theme before but I see you were kind enough to link to a walk-through. Much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making Logos Display Horizontally on Page’ is closed to new replies.