laura5 Posted August 13, 2020 Share Posted August 13, 2020 (edited) Site URL: https://cylinder-porcupine-rlr9.squarespace.com/portfolio Password: gabby Hi there, I want to make the font size smaller on the image titles on hover state on the main PORTFOLIO page (and maybe change the font style, too, but at least the size). Also: once you're browsing projects, the font size on the directional text at the bottom of the page is HUGE. Want to make that smaller, but not seeing a way. Thanks in advance for your help! Edited August 13, 2020 by laura5 Link to comment
tuanphan Posted August 15, 2020 Share Posted August 15, 2020 Add to Home > Design > Custom CSS /* Portfolio title */ h3.portfolio-title { font-size: 15px !important; } /* Pagination */ .item-pagination[data-collection-type^="portfolio"] .item-pagination-title { font-size: 1.2em; } 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
ToddSA Posted August 30, 2021 Share Posted August 30, 2021 Hi tuanphan, the above code has been very helpful for a similar solution I was looking for. Would it be possible to see code for changing the font on the hover state as well? Thanks for your help! Link to comment
tuanphan Posted August 31, 2021 Share Posted August 31, 2021 On 8/30/2021 at 6:35 PM, ToddSA said: Hi tuanphan, the above code has been very helpful for a similar solution I was looking for. Would it be possible to see code for changing the font on the hover state as well? Thanks for your help! use this h3.portfolio-title { font-size: 15px !important; font-family: monospace !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
EllMorrow Posted December 3, 2022 Share Posted December 3, 2022 @tuanphan your code (on various posts) has been really helpful, so thank you! How would I change the font used for the portfolio cover text? I've got the sizes pretty much set, but I'd like to use my own font families (for portfolio title and the h3 below each title) so that they align with the rest of the site. https://www.bon-creative.co.uk/work Link to comment
tuanphan Posted December 4, 2022 Share Posted December 4, 2022 17 hours ago, EllMorrow said: @tuanphan your code (on various posts) has been really helpful, so thank you! How would I change the font used for the portfolio cover text? I've got the sizes pretty much set, but I'd like to use my own font families (for portfolio title and the h3 below each title) so that they align with the rest of the site. https://www.bon-creative.co.uk/work Use this CSS h3.portfolio-title, h3.portfolio-title:after { font-family: 'Fontspring-DEMO-visbycf-extrabold' !important; } EllMorrow 1 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
EllMorrow Posted December 19, 2022 Share Posted December 19, 2022 On 12/4/2022 at 1:19 AM, tuanphan said: Use this CSS h3.portfolio-title, h3.portfolio-title:after { font-family: 'Fontspring-DEMO-visbycf-extrabold' !important; } Thanks so much @tuanphan! Two more things if you'd be able to help 1. How do I add a darker/different coloured background to the photos on hover? And change the text colour if required? I love how this portfolio page looks, for example: https://www.sandrarsobral.com/ 2. Can I make a portfolio item link to another page? We have two portfolios on our site (social media work and event photography) and we think most people will go to 'Work' rather than 'Photography'. We'd like to link to the Photography page within the Work page portfolio items. You can see that we've created a portfolio item called Event Photography on this page: https://www.bon-creative.co.uk/work. I just can't figure out how to make that link to a different page rather than go through to the item - is it possible? Thanks in advance 🙂 Link to comment
Emmapartridge Posted December 19, 2022 Share Posted December 19, 2022 Hello This code is really useful, could you please add some code to place the text on two lines and align left bottom? Link to comment
tuanphan Posted December 20, 2022 Share Posted December 20, 2022 17 hours ago, EllMorrow said: Thanks so much @tuanphan! Two more things if you'd be able to help 1. How do I add a darker/different coloured background to the photos on hover? And change the text colour if required? I love how this portfolio page looks, for example: https://www.sandrarsobral.com/ 2. Can I make a portfolio item link to another page? We have two portfolios on our site (social media work and event photography) and we think most people will go to 'Work' rather than 'Photography'. We'd like to link to the Photography page within the Work page portfolio items. You can see that we've created a portfolio item called Event Photography on this page: https://www.bon-creative.co.uk/work. I just can't figure out how to make that link to a different page rather than go through to the item - is it possible? Thanks in advance 🙂 #1. Add this CSS .grid-item:hover .portfolio-overlay { background-color: rgba(0,0,0,0.9) !important; opacity: 1 !important; } h3.portfolio-title, h3.portfolio-title:after { color: white !important; } #2. You mean change Event Photography link to custom link? #3. 16 hours ago, Emmapartridge said: Hello This code is really useful, could you please add some code to place the text on two lines and align left bottom? Move this text down like this? 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
EllMorrow Posted December 28, 2022 Share Posted December 28, 2022 On 12/20/2022 at 9:54 AM, tuanphan said: #2. You mean change Event Photography link to custom link? Yes 🙂 is that possible? Link to comment
tuanphan Posted December 30, 2022 Share Posted December 30, 2022 On 12/29/2022 at 6:13 AM, EllMorrow said: Add to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> $(document).ready(function() { $('a.grid-item[href="/work/event-photography"]').attr('href','https://google.com'); }); </script> Replace google with new url 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
mfrangan Posted April 11, 2023 Share Posted April 11, 2023 Hi, I'd like to be able to center and also change text font and sizes of these portfolio titles. Any ideas? Thanks in advance! Link to comment
tuanphan Posted April 16, 2023 Share Posted April 16, 2023 On 4/12/2023 at 2:47 AM, mfrangan said: Hi, I'd like to be able to center and also change text font and sizes of these portfolio titles. Any ideas? Thanks in advance! Can you share link to portfolio page? 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
Drewnesse Posted March 23 Share Posted March 23 On 8/15/2020 at 1:11 AM, tuanphan said: Add to Home > Design > Custom CSS /* Portfolio title */ h3.portfolio-title { font-size: 15px !important; } /* Pagination */ .item-pagination[data-collection-type^="portfolio"] .item-pagination-title { font-size: 1.2em; } Can the code be modified for type size to be adjusted on mobile only? Link to comment
tuanphan Posted March 24 Share Posted March 24 13 hours ago, Drewnesse said: Can the code be modified for type size to be adjusted on mobile only? Use this code @media screen and (max-width:767px) { /* Portfolio title */ h3.portfolio-title { font-size: 15px !important; } /* Pagination */ .item-pagination[data-collection-type^="portfolio"] .item-pagination-title { font-size: 1.2em; } } 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