Shape 5

Joomla Templates => Oasis - Club => : bernd_beha July 10, 2014, 06:15:03 AM



: Changing text position on S5 Image and Content Fader v3
: bernd_beha July 10, 2014, 06:15:03 AM
Hi,

I need to know where I can change the text position for the header and body text of the images? The template comes by default with center position, I need left.

Thanks in advance!

Bernd


: Re: Changing text position on S5 Image and Content Fader v3
: mikenicoll July 10, 2014, 11:41:47 PM
Hello,

By default the CSS below uses margin: 0 auto; to center the text. Just adjust these margins as needed to move the text.

1)

:
Template.CSS - Line 1178

.jdGallery .slideInfoZone p {
    color: #ffffff !important;
    display: block !important;
    font-size: 1.7em;
    line-height: 180%;
    margin: 0 auto !important;
    padding: 0 !important;
    text-shadow: none !important;
}

2)

:
Template.CSS - Line 1169

.jdGallery .slideInfoZone h2 {
    font-size: 2.7em !important;
    line-height: 140% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

-Mike


: Re: Changing text position on S5 Image and Content Fader v3
: bernd_beha July 14, 2014, 03:08:55 AM
Thanks!

I think when I don't use center postion, it will be quite difficult to have the text in a great alignment with the other elements and contents!?

Bernd


: Re: Changing text position on S5 Image and Content Fader v3
: mikenicoll July 14, 2014, 09:40:30 PM
Hello,

That is why the coding was used, in order to align the text with the content. You could do something like a left float with a left margin if you wanted but that is up to you and based on the layout your looking for.

-Mike


: Re: Changing text position on S5 Image and Content Fader v3
: bernd_beha July 15, 2014, 12:37:58 AM
ok, thanks for you help Mike.

Bernd


: Re: Changing text position on S5 Image and Content Fader v3
: mikenicoll July 15, 2014, 01:30:49 AM
NP

-Mike