Posted: May 31, 2016 at 4:40 am
|
I need display event details text by default. Now, the text only appears when the mouse is over. Thanks |
Hello, Try this CSS for changing the styling: .ee_grid_box img { opacity: 0.4; } .ee_grid_box span { position:absolute; top:5px; color:#000; left:10px; right:10px; opacity:0; } .ee_grid_box a.darken span{ color:#fff; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -ms-transition: all 0.5s linear; -o-transition: all 0.5s linear; transition: all 0.5s linear; opacity:1; } If your theme has a Custom CSS area built-in, then you can add it there through your WP dashboard. Otherwise, you could use a free plugin that adds an additional stylesheet to your WordPress site such as Simple Custom CSS or Reaktiv CSS Builder. You can then go back to your site and refresh the page with the grid on it to see the new changes. — |
|
|
Thanks, but with this css code, I view a black box only. I need veiw directly the text that I see when mouse over the box. Do you understand me? like this: but I need text with black color. Thanks |
Hello, Black text on an already dark background may be difficult to read. Is that what you are trying to setup? Also, you may want to add an actual featured image to an event to see what this may look like. — |
|
|
sorry, I need text with white color! Thanks |
Hi, could you share a link to the page so we can see what you currently have? Thanks — |
|
|
http://www.infoactivat.com/cequip The grid view is in “Activitats” section on the Home page Thanks |
The CSS that Lorenzo posted should work to make the text white. Have you tried adding the CSS? |
|
|
yes, I try it but with this css code, I view a black box only. I need view directly the text that I see when mouse is over the box. like this: Do you understand me? Thanks |
You’ll need to change some of the CSS Lorenzo provided for that, change this: .ee_grid_box a.darken span{ color:#fff; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -ms-transition: all 0.5s linear; -o-transition: all 0.5s linear; transition: all 0.5s linear; opacity:1; } to this: .espresso-grid .ee_grid_box a.darken span { color: #fff; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; -ms-transition: all 0.5s linear; -o-transition: all 0.5s linear; transition: all 0.5s linear; opacity: 1; } (Note the additional .espresso-grid selector) Now add this: .espresso-grid .ee_grid_box a.darken:hover span { color: blue; } Change the colour to whichever value you prefer. |
|
The support post ‘How to customize Grid Template to display event details by default? (2)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.