Css makeup – Title,title lenght,z-index and other
-
I am using WP with buddypress with child theme and i installed plugin and i want to say that is amazing.
There was few small things that was making a problem but it is solved.
I was modified little css becouse when i set title lenght to 50 characters title going over the image and also i had a problem with z-index(i doubt that all have that problem becouse i have used custom css for menu) then there was overflow problem with title so i wanted to share some css code for fixing if anyone run into same problem.
My menu was z-index:998; so i had to change next thing.Next code is added in child theme style.css to overide default setting and avoid conflicts:.da-slide-current { z-index: 900; }
then there was width of title and line height and other…
.da-slide h2 { font-size: 36px; ====> i decided to make smaller title font overflow:visible;======>if you dont have line-height leave this overflow visible othervise you can delete it text-shadow:1px 1px 1px rgba(0, 0, 0, 0.5);====>little shadow more visible for clear text word-wrap:break-word;===>breaking the title lenght width:55%;====>decreasing width becouse i will put more words in title line-height:normal;===>line height to normal to prevent overclipping text in title word-break:normal;===>need for normal breaking title text white-space: normal;===>need for normal breaking title text }
Adding in theme template code should be wrapped in php
<?php if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); }; ?>
and not just
if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); }
you may look here result
I hope that will help someone who run into same small glitch.
I rate 5 for this plugin becouse it deserve it 🙂http://wordpress.org/extend/plugins/wp-parallax-content-slider/
- The topic ‘Css makeup – Title,title lenght,z-index and other’ is closed to new replies.