This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 28 Aug 26, 19:34 Last Post By: RobM Threads: [ Previous | Next ]
rcunnew

Posts: 52
Registered: 23-Feb-2008
Hero title
Posted: 26 Aug 26, 21:00
 
  Click to reply to this thread Reply
I've added descriptions to my top level folders so that they appear under the folder thumbnails and guide users to what's in the folder. I don't want these descriptions to appear in the hero section, (a) because they aren't needed, the user is already there so they don't need the signpost, and (b) because on a mobile they swamp the hero image.

I know I can stop the descriptions appearing (Tiger>Site>Hero>Title). But this stops my main site subtitle from appearing on the home page, and that I do want to keep. It serves a different function really.

Is there any way I can stop the descriptions appearing on all hero sections except the first?

You can see my swamped hero images at https://robertcunnew.uk/Test.
Laza

Posts: 1,590
Registered: 6-Sep-2005
Re: Hero title
Posted: 28 Aug 26, 12:17   in response to: rcunnew in response to: rcunnew
 
  Click to reply to this thread Reply
As I see the desciptions are already removed on the subfolders. Anyway, this is the custom CSS code that removes them:
.sub-album .hero .title .description { display: none; }
rcunnew

Posts: 52
Registered: 23-Feb-2008
Re: Hero title
Posted: 28 Aug 26, 16:14   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thanks Laza, that's exactly what I wanted to achieve.

I had disabled description from appearing in the hero generally. To deal with the problem of not wanting to lose site subtitle I put the subtitle in the site title box with some HTML formatting. But that could cause problems and the CSS code is much neater.
Laza

Posts: 1,590
Registered: 6-Sep-2005
Re: Hero title
Posted: 28 Aug 26, 17:21   in response to: rcunnew in response to: rcunnew
 
  Click to reply to this thread Reply
CSS could look so deceptively simple, so some might think "why didn't I figure it by myself"? Anyway, using right-click -> Inspect can reveal the proper CSS hook for an element. (Look for the "Styles" panel on the right!)
RobM

Posts: 4,154
Registered: 4-Aug-2006
Re: Hero title
Posted: 28 Aug 26, 19:34   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza wrote:
CSS could look so deceptively simple, so some might think "why didn't I figure it by myself"? Anyway, using right-click -> Inspect can reveal the proper CSS hook for an element. (Look for the "Styles" panel on the right!)
Tutorial at https://jalbum.net/help/en/Using_Browser_Development_Tools_to_change_a_skin%27s_style
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums