No, because divorce is something that is a different thing from, say, insisting that two men can get married, which violates the natural order. And capital punishment is not prohibited by Church law; like war, it is something that is considered a last resort, only to prevent greater harm.
So while individual popes or religious figures may be more or less opposed to these things, or to a particular war or case, these are simply their opinions. The things that the Pope is talking about are things that violate the natural order and which are always wrong. Abortion is the murder of an innocent human being and is always wrong; homosexual “marriage” violates the natural law and is always wrong (aside from being impossible), etc. These may be things which a particular electoral candidate is trying to make acceptable to or even impose on our society, and in that case one cannot vote for that candidate.
If you divorce and remarry without benefit of church-sanctioned anullment then you are living in a state of adultery and are forbidden from receiving sacrements. Yet that is not enforced at the level of church hierarchy. And the quote from His Holiness that is at the top of this thread speaks of the sanctity of life from conception to natural death.