tag=span
parameter to display an address as a single line.
Write to us at [bw_address tag=span] or phone now.
Alternative method
In previous versions of oik it was necessary to use CSS to style the generated HTML.Write to us at [bw_address] or phone now.
Work
The Long Room
41 Redhill Road
Rowlands Castle
HANTS
PO9 6DE
UK
div
s within the outer div
to display: inline;
.
.bw_address div, .bw_address p { display: inline; }
Optional styling
Add separating commas using the ::after pseudo element
.bw_address div::after,
.bw_address span::after { content: ","; }
.bw_address div.country-name::after,
.bw_address span.country-name::after { content: ""; }
Style the whole address
.bw_address { background-color: #fff; padding:5px; color: #baba54; font-weight: bold; }