We help IT Professionals succeed at work.

Same code on homepage renders 4 across, same code on archive only renders 3 Across. What am I missing?

Alicia St Rose
on
153 Views
Last Modified: 2017-12-16
This page has 4 project thumbnails across:
http://sandbox.intrepidrealist.com/alan-macy/

I'm using the same classes for this one, but only 3 across:
http://sandbox.intrepidrealist.com/alan-macy/project/

It's driving me mad...
Comment
Watch Question

RobOwner (Aidellio)
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
You may be using the same classes but the html is different.  Without looking too far into the code, the container objects are different widths and ultimately it is the margin between the thumbnails which is different.

Clipboard01.jpg
RobOwner (Aidellio)
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
the margin for those elements is based on a % of the container width.  There is an html element making the homepage wider than your sandbox
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Alicia St RoseOwner & Principle Developer/Designer
CERTIFIED EXPERT

Author

Commented:
Rock stars!! Thank you SO much!!! It was indeed the wow class. I had a float attached to it. And I need to float the archive elements. The wow class is for the animations. Don't need them on the archive. I should've attached the float to another class.
Glad to help.
Question inactive

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions