Beginning ads css logic