- Posts: 62
- Thank you received: 0
Article Titles Larger?
-
lmw1
Inactive member -
Topic Author
- Member
-
Less
More
13 years 6 months ago #11226
by lmw1
Replied by lmw1 on topic Re: Article Titles Larger?
That didn't work either.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 6 months ago #11238
by ivan.milic
Replied by ivan.milic on topic Re: Article Titles Larger?
Well, best then send us link when you put your site online.
Please Log in to join the conversation.
-
lmw1
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 62
- Thank you received: 0
13 years 6 months ago #11240
by lmw1
Replied by lmw1 on topic Re: Article Titles Larger?
I PM'd you the direct link. Thanks!
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 6 months ago #11247
by ivan.milic
Replied by ivan.milic on topic Re: Article Titles Larger?
Ok, problem is that you have other H2 tags in same parent element as title. You can put something like this, but its css3 and some older browsers do not support that:
.content_pad > div > h2:first-child{
...
}
second workaround would require to put some jQuery in index.php of template.
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.content_pad > div > h2:first-child').addClass('articleTitle');
});
</script>
then use
.articleTitle{
..
}
to style title.
Solution would be also to you replace in-article H2s with H3 then you could simply use:
.content_pad > div > h2{
...
}
.content_pad > div > h2:first-child{
...
}
second workaround would require to put some jQuery in index.php of template.
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.content_pad > div > h2:first-child').addClass('articleTitle');
});
</script>
then use
.articleTitle{
..
}
to style title.
Solution would be also to you replace in-article H2s with H3 then you could simply use:
.content_pad > div > h2{
...
}
Please Log in to join the conversation.
Time to create page: 0.083 seconds