Tagged: CSS, Enfold Latest Portfolio, news-headline
This is related to “Enfold Latest Portfolio” wdiget, see this image https://imgur.com/a/miZqcwZ
How do I make it center? I just hid .news-time.
Using margin-bottom? bottom? Or what?
Hey,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.news-headline {
text-align: center;
}
Best regards,
Yigit
It became like https://imgur.com/a/RrnbxFj
I want align with thumbnail picture on the left.
Solved, https://imgur.com/a/ov0ftOJ. I added this code:
.news-headline { margin-top: 14px; }
Am I doing right? Or should I use % instead of pixel?
Hi,
Glad you figured it out!
Using pixel is fine. Please check your element on different screensizes and if you need to adjust the value depending on screen size, you can use media queries – https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Best regards,
Yigit