For the same airspeed does the attitude of an airplane change with varying wind directions?
If by attitude you mean pitch attitude or angle of attack (which is how I automatically understood this), no it does not change as this is related to the aircraft's airspeed through the air. So an aircraft flying downwind will have the same AOA as the same aircraft at the same airspeed flying upwind.

If you want to fly at the same groundspeed upwind as downwind, then you would have to vary your airspeed, which means varying you pitch attitude or AOA. This might not be possible if say you were in a light aircraft in a 40 knot wind at altitude which cruises at 100 knots.