New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Center the Gallery image block / vid page

  • Healsofsteel
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Center the Gallery image block / vid page was created by Healsofsteel

Hi!

First of all, thats a really nice component you made there for joomla. Everything seems to work right out of the box. A+ for that.

I got the following question; as you can see here:
bloodreign-guild.net/index.php/guildmedia/videos

I setted up 2 categories, and used menu link: category layout - default all video's.

Now as you can see, at this moment I got 2 categories. The thing that bugs me abit, is that they are centered to the left side of the page. Is there any option to make a 3 column layout, centered on the page? For both the Category layout and Vid layout? I tried to center atleast he movies abit, by setting the width to 286px. (This is in the component backend options). And I tried to set a different width under menu item (Where you can overrule) and was hoping it would only overrule the Category layout. Seems I was wrong there, and it also has influence on the Vid section. :(

Any help would be appreciated, and again, nice component!

Regards,
11 years 6 months ago #3193

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Center the Gallery image block / vid page

1. Login to your Joomla admin.

2. Go to Components - All Video Share - General Configuration - Frontend Stylesheet

3. Edit #avs_gallery .avs_thumb class as below,
#avs_gallery .avs_thumb { float:left; margin:7px; padding:0px; }
4. Hope, this solved your issue.
11 years 6 months ago #3204

Please Log in or Create an account to join the conversation.

  • Healsofsteel
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by Healsofsteel on topic Re: Center the Gallery image block / vid page

Hi!

Many thanks for the reply! I did like you said, and replaced this:
#avs_gallery .avs_thumb { float:left; margin:7px 14px 7px 0px; padding:0px; }

With your code:
#avs_gallery .avs_thumb { float:left; margin:7px; padding:0px; }

It does look better, that's for sure, but is it also possible to center 2 Category groups in the middle of the page?:
bloodreign-guild.net/index.php/guildmedia/videos
11 years 6 months ago #3206

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Center the Gallery image block / vid page

It would take more steps. Could you mail me your Joomla! admin details to This email address is being protected from spambots. You need JavaScript enabled to view it. ? So, I can do it on my own.
11 years 6 months ago #3207

Please Log in or Create an account to join the conversation.

  • Healsofsteel
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by Healsofsteel on topic Re: Center the Gallery image block / vid page

Hi there,

I wanted to thank you for the service. It looks great like this!

Regards,
11 years 5 months ago #3232

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 1

Replied by Stephen McCaul on topic Re: Center the Gallery image block / vid page

Hi
I tried using the above code to center the gallery.
It did not work.
Is this because i am using the free version??
Any help greatly appreciated

Steve
11 years 5 months ago #4731

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies