Add class to link
I'm trying to add a class to a link in child theme.
The code is:
<style>
#data {
border: solid 2px blue;
width: 100px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#data:hover{
overflow: visible;
white-space: normal;
width: auto;
}
</style>
<div>1: ONE</div>
<div id="data" style="border: 1px solid #0ff; ">
2: oianset osietnoasiedj oino aosietnoin oasiento oaseitnoind oisentoasintoon oisentoiansetoino oiasentoin oi asetin doinae oidnoajosi doinalketn oiwdnota onioiante oaidno </div>
<div>3: THREE</div>
In wich file can I add the "Data" class? .Latest_news
The code is:
<style>
#data {
border: solid 2px blue;
width: 100px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#data:hover{
overflow: visible;
white-space: normal;
width: auto;
}
</style>
<div>1: ONE</div>
<div id="data" style="border: 1px solid #0ff; ">
2: oianset osietnoasiedj oino aosietnoin oasiento oaseitnoind oisentoasintoon oisentoiansetoino oiasentoin oi asetin doinae oidnoajosi doinalketn oiwdnota onioiante oaidno </div>
<div>3: THREE</div>
In wich file can I add the "Data" class? .Latest_news
Comments
all custom css can be entered in theme options>custom css&js>css
And the custom HTML can be added into the content using the muffin builder.
thanks
I know where to add the css for the class. I need to add the class, but through the backend file 'cuz I need to edit all the list blog linkd
thanks
So, I'm using the muffin builder and there I added the blog news. So for all the article title I want to add a class.Only for the title
cheers