Hi. How do I get rid of extra space that shows up after each link? I have no extra space in the code, but you can see here that extra space shows up after each hyperlink: losingmyreligion.com
So even though it’s coded as “text linktext”, it shows up as “text(space)link(space)(space)text.”
that’s because all links that are set to open in a new page get the special icon by default. It seems that you deleted that icon, but style.css still makes the space for it. If you want to get rid of it, look at style.css:
/* Tip25 - Mark the links that will open in a new window with special icon, usually these are the links to external resources */
.entry-content a[target=_blank] {
/* display: inline-block; */
padding-right: 16px;
padding-right: 1.142857143rem;
background: transparent center right no-repeat;
background-image: url('images/icon-external-link.png');
}
and set padding-right to 0.
BTW, it is never late to come back, merry Christmas 🙂
Thank you Tomas, that did it. Also, thanks for the YouTube link.
An idea for you and other WP theme developers: since most questions are of the “how do I change this” variety, maybe you could create a legend for all CSS modifiable elements of the theme. For example, you could post a jpeg or PDF showing a typical page, with a small number next to each element (site headline, site description, body text, widget header, etc.). Then you could have a numbered list with some of the corresponding CSS code next to each number. Users could then do a search within the style.css for that line of code, and find the part they need to modify.
Anyway, Merry Christmas to you too, and thanks for creating this theme and supporting it so well!