I hope you are having an awesome day and thanks for contacting us regarding your query.
You may add this to the Custom CSS Code section located by navigating to Appearance > General Settings > CSS/Script Related > Custom CSS from your WordPress Dashboard
Apologies for that. It seems to be working perfectly fine in desktop and mobile, however, it looks like it needs some adjusting for tablet.
You may add this to the Custom CSS Code section located by navigating to Appearance > General Settings > CSS/Script Related > Custom CSS from your WordPress Dashboard
/*center header on tablet breakpoint*/
@media only screen and (max-width: 690px){ body.single-portfolio .row .col.section-title h1 { text-align: center!Important; width: 100%!Important; line-height: 26px !important; } }
May I ask you to remove the previously provided Custom CSS Code from the Custom CSS Area within the Salient Options section of your WordPress Dashboard.
How do you change the line spacing in the title section of portfolio pages, and get them to centralise on mobiles attached is a example.
I want "The Emergency Services Show 2016" to be centralised and have more line spacing as its way to close.
Thanks
Adam
Hi Adam,
I hope you are having an awesome day and thanks for contacting us regarding your query.
You may add this to the Custom CSS Code section located by navigating to Appearance > General Settings > CSS/Script Related > Custom CSS from your WordPress Dashboard
/*center portfolio titles*/
.work-meta {
margin-left: 10%!important;
text-align: center!Important;
}
Please let me know if there are any more questions that I may answer for you :)
Cheers!
Hi Andrew,
This still doesn't work, also how can i change the line spacing so they are not as close.
Thanks
Adam
Hi there,
Thanks for keeping in touch.
Apologies for that. It seems to be working perfectly fine in desktop and mobile, however, it looks like it needs some adjusting for tablet.
You may add this to the Custom CSS Code section located by navigating to Appearance > General Settings > CSS/Script Related > Custom CSS from your WordPress Dashboard
/*center header on tablet breakpoint*/
@media only screen and (max-width: 690px){
body.single-portfolio .row .col.section-title h1 {
text-align: center!Important;
width: 100%!Important;
line-height: 26px !important;
}
}
Let me know if this helps.
Kind Regards.
Thanks Andrew this solved it!
Cheers
Adam
Andrew, is there a way of making it so it only center on the actual portfolio project page (the individual page)
e.g mysite.co.uk/portfolio/project-one
as i don't want it to center on the home page or main portfolio page (show in picture)
Thanks
Adam
Hi there,
Thanks for your reply.
May I ask you to remove the previously provided Custom CSS Code from the Custom CSS Area within the Salient Options section of your WordPress Dashboard.
Please let me know if there are any more questions that I can answer for you
Cheers!
Hi Andrew,
This solved it!! Cheers for the fast response.