OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Cnter title image with default layout (0 viewing) 

Joomla Gallery Support

Go to bottom Favoured: 0

Cnter title image with default layout

ghf (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Cnter title image with default layout 9 Months, 3 Weeks ago
Karma: 0  
Bonjour

I want to center the title of the image
I use default layout and default and Image hover effect: none

Does the correct code of css is

[class^=os-gallery-default-main] .img-block.none-effect .os-gallery-caption h3.os-gallery-img-title, [class^=os-gallery-album-tabs-main] .img-block.none-effect .os-gallery-caption h3.os-gallery-img-title, [class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption h3.os-gallery-img-title {
text-align: center;
}

Thank a lot
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8263
graph
User Offline Click here to see the profile of this user
Re:Center title image with default layout 9 Months, 3 Weeks ago
Karma: 101  
Hello

True say in our joomla gallery - title already Centered.
If this not work - mean you have some conflict in CSS. In This case: Please to us yours site url, and we will check.

If you need " center the title of the image by vertical", please add to your template CSS below styles:

Code:

[class^=os-gallery-all-in-one-main] .img-block.none-effect .os-gallery-caption, [class^=os-gallery-album-tabs-main] .img-block.none-effect .os-gallery-caption, [class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}



Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
ghf (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Cnter title image with default layout 9 Months, 3 Weeks ago
Karma: 0  
Bonjour

Thanks a lot for your quick reply

My site is genevahealthforum.com

I use os gallery to put the line of 4 icons.
As you can see the title of the pictures are ont the leflt under the picture and not at the center.

Thanks a lot for your advice
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8263
graph
User Offline Click here to see the profile of this user
Re:Cnter title image with default layout 9 Months, 3 Weeks ago
Karma: 101  
Hello

Do you mean this layout

as you see for me title of image at center and under image. This because you in Joomla Gallery settings, set setting "Position of the title/description image" -> "Under image"

If you see it some other. May be you may send to me how you see this and what browser you use.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8263
graph
User Offline Click here to see the profile of this user
Re:Cnter title image with default layout 9 Months, 3 Weeks ago
Karma: 101  
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8263
graph
User Offline Click here to see the profile of this user
Re:Cnter title image with default layout 9 Months, 3 Weeks ago
Karma: 101  
Also you need limit setting "Title max length" in Gallery settings

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»