All the links on my website are not formatted correctly, especially when the sentence with the link takes up two lines. For example, the links on the screenshot look off.
I’ve already checked for hidden CSS on both the page and site levels but didn’t find anything wrong. In the past, I would remove formatting before pasting into the CMS, and that worked. However, this time it didn’t fix the problem.
It’s not possible to guess without see the published site and your readonly designer link.
Could be that your links are in rich text and your rich text styling needs adjusted. Could be custom CSS. Could be that All Links is styled incorrectly.
The main problem is that you have All Paragraphs set to flex, which treats all of the individual objects within it ( including links ) as individual items it must layout.
Remove that styling and your paragraphs will work much better.
It you don’t remember settings this, it’s possible that the template designer did this- so make sure to check your site for areas where the design actually requires the paragraphs to be flex-layout, and you can apply it to those specific classes individually.
It seems the blog does not inherit All Paragraphs. Instead, it inherits only the Body (All Pages) and Rich Text Block 4, which is set to block, not flex.
The entire website looks okay, the issue is only with the blog format. Do you recommend using a combo class to only override the blog template, or should we modify all paragraphs, which could be risky?
You’re painting yourself into a corner if you’re trying to apply a fix on top of a fix. You’ll end up with a lot of duct tape and a very fragile build.
I’d fix the problem at the source. All Paragraphs should not be flex. Maybe a specific container? Rethink what you’re trying to do and when you need to break the rules, isolate that anomaly so it doesn’t affect the rest of your site. You might have a reason to make paragraphs flex, but only in one specific place, not site-wide.
Revert all paragraphs back to block so they function normally.
If you have places you actually need paragraphs to be flex, assign a class and set only that class to flex.