: Componentheading and contentpagetitle joomla If have a problem with the componentheading and the contentpagetitle. I got a sectionblog for my articles. The title of the page is a componentheading.
If have a problem with the componentheading and the contentpagetitle.
I got a sectionblog for my articles.
The title of the page is a componentheading.
The title of the articles (intro) is a contentpagetitle.
If I click on the title of a article, I can see the entire article.
The title of the page is now the title of the article (contentpagetitle), and that is good.
The problem is, this title now needs the same layout as the componentheading.
But if I do this, the titles of the articles also get this layout in the sectionblog
How can I make sure I got 2 different styles, or the contentpagetitle changes in a componentheading while looking at the full article?
I you don't uderstand what I'm saying just go to csm.infowebpreview.be/nl/realisaties, and click on the first title 'Realisatie'. The full article opens and the title 'Realisatie' should be underlined now.
Or this is also correct: if an article is the only article on a page the title should get another layout
Thanks
More posts by @Mendez628
1 Comments
Sorted by latest first Latest Oldest Best
This is the answer:
You can do this by being more specific with the CSS selector -
This one will apply to all of the titles, make this one the one for the main heading with the underline -
h2.contentheadingrealisaties{border-bottom: 1px solid #333 }
Then use this to single out the article titles in a listing:
.leadingrealisaties h2.contentheadingrealisaties{border:0;}
Obviously you will need to add in the rest of the CSS, but this will get you started.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.