Do not take this wrong way.
The original post clearly stated -
From original post:
Screen shot visually indicating the question of what needs to be removed.
"Would appreciate if someone could help me in removing the +1 button
from the mobile view of my blog."
What was requested was clearly stated. A conditional statement was never requested, nor was a solution for adding the +1 button - so to answer directly, no - neither of these options answered or helped as there did not pertain to the topic of the request.
I have one closing question and one closing thought.
If my question was not clearly understood, why was an assumption made instead of asking for clarification?
Do not mistake what I have said or my tone, it is not meant in a negative way - it is meant as constructive feedback.