I want to display "text between horizontal line", so
i am following this link :
https://stackoverflow.com/questions/16009654/horizontal-line-in-the-middle-of-text
but in our theme.css file, we already using ".span" & ".h2" classes.
if i use code in above link, it will apply for all the html codes which using these css classes : "span", "h2".
but i don't want that to be happen.
i am sure, this is magento topic as we are using lot of "h2" and "span" in magento, please close this question as "off topic"
give me some guidance.
Best Answer
You can always use unique classes above particular
<h2>
tags say for examplethen CSS class will be
the same way for
<span>
to get output according to you add this code
HTML
CSS