MWilkime Posted January 14 Share Posted January 14 A couple of years ago, I was able to customize my site so that the gallery image titles, while in their hover state, could have different text styles for each line. I've attached two images of how I would enter the title text and the result it would give me. Now, when I create new projects using the same formatting, I cannot achieve different text styles (see image below). Any insight what I may be doing wrong? Link to comment
tuanphan Posted January 14 Share Posted January 14 Can you share link to page where you use second screenshot? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MWilkime Posted January 14 Author Share Posted January 14 Here it is: https://mwilkime.com/music-videos Thank you! Link to comment
tuanphan Posted January 15 Share Posted January 15 You can use this code to Website Tools (under Not Linked) > Custom CSS to change second text style p.thumb-desc { color: rgba(255,255,255,0.5); font-size: 15px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MWilkime Posted January 15 Author Share Posted January 15 Thank you but this still isn't solving the issue. I'm using the same formatting in the TITLE field but the text style isn't changing for the second line: "M&M's </h2> Art Director </p>" Link to comment
tuanphan Posted January 16 Share Posted January 16 13 hours ago, MWilkime said: Thank you but this still isn't solving the issue. I'm using the same formatting in the TITLE field but the text style isn't changing for the second line: "M&M's </h2> Art Director </p>" Can you take a screenshot of position where you changed this? As I check the code, it should have another option to insert this second text Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MWilkime Posted January 16 Author Share Posted January 16 Attached are screenshots where I inserted the code you provided, how I input my text and the result I get. Link to comment
tuanphan Posted January 17 Share Posted January 17 Have you tried adding second text to Description box yet? also, your title HTML code is invalid, it is missing opening and closing tag It should be <h2>M&M's</h2><p>Art Director</p> or M&M's<h2>Art Director</h2> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MWilkime Posted January 17 Author Share Posted January 17 Yay, this works! Last thing, some of my longer titles span multiple lines, but the text will overlap each other. What's the solve for this? Link to comment
tuanphan Posted January 18 Share Posted January 18 I guess H2 line height too low so they overlap. Add this to Website Tools (under Not Linked) > Custom CSS h2.thumb-caption { line-height: 30px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment