In past you helped me to shorten the portfolio’s post title and not let it go on two lines. You suggested to me to insert this piece of script in content-portfolio.php
Now my question is, is there a way to move this script from content-portfolio.php to style.css? In order to have something like this:
@media only screen and (max-width: 1200px){
/* title is 25 characters */
}
@media only screen and (max-width: 992px){
/* title is 20 characters */
}
@media only screen and (max-width: 768px){
/* title is 15 characters */
}
Thanks for the quick response. I understood the difference.
Isn’t there a way to make the PHP code communicate with the CSS code?
Do you say it’s impossible to get what I asked for earlier?
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.
Upload your translation files
Lorem ipsum dolor sit amet consectetur adipisicing elitsed do
Love us as much as we love you?
If you love XStore theme and have something nice to say
don’t hesitate to tell about this! We’d appreciate if you could take a moment to give us 5-stars!