Milton-Creative Posted February 9, 2020 Share Posted February 9, 2020 Hi Folks - Is it possible to add a text tagline under my text site title (both centred) in 7.1? Link to comment
tuanphan Posted February 9, 2020 Share Posted February 9, 2020 Add to Home > Design > Custom CSS a#site-title:after { content: "tuan phan"; display: block; } 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
Milton-Creative Posted February 11, 2020 Author Share Posted February 11, 2020 I added the code: a#site-title:after { content: "tuan phan"; display: block; } but it makes the tagline appear directly on top the text site title (its a text title not an image) - see 1st screenshot.... I need a tagline below the site title - see 2nd screenshot... Any suggestions? Thanks! Link to comment
e2astudio Posted February 11, 2020 Share Posted February 11, 2020 This should do the trick: .header-title-text a::after { content: 'Tagline'; display: block; font-size: 14px; line-height: 1em; } Link to comment
Milton-Creative Posted February 11, 2020 Author Share Posted February 11, 2020 Thanks for replying - I used your code which sorted the Site Title & Tagline in desktop view but the navigation is aligned to tagline which looks wrong. In Mobile view the tagline is same size as Title.... Cheeky to ask but is there anyway to align the navigation with the Title not the Tagline and sort the mobile view by reducing the tagline size? I'm guessing its because it's 7.1? Maybe I should use graphic instead.... See screenshots of desktop and mobile views.... Thank you! Link to comment
e2astudio Posted February 11, 2020 Share Posted February 11, 2020 I'd probably use a graphic. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.