qosaos.blogg.se

Create an anchor link in wordpress
Create an anchor link in wordpress






Mistake 3: Adding identical CSS IDs on the same pageĪ CSS ID must be unique on a specific page or post. But make sure to add the leading # when you create your anchor links (step 2). You should never add your own # when you add a CSS ID (step 1). I did actually made this mistake twice when creating this post – in a tutorial about how to create anchor links! Mistake 2: Adding the hash (#) in the CSS ID fieldĭivi will automatically add the leading # when you add a CSS ID to a section, row or module. Always use the CSS ID field when you create anchor links – not the CSS Class field (that is used for styling).

create an anchor link in wordpress create an anchor link in wordpress

It’s easy to mix up the fields CSS Class and CSS ID.

create an anchor link in wordpress

Mistake 1: Using the CSS Class instead of the CSS ID Troubleshooting: 3 Common Anchor Link Mistakesĭoes your anchor link lead to a dead end? Here are a few mistakes to avoid.








Create an anchor link in wordpress