Solved Templates

Is there a way to display Caption text with our Images in the Articles using Gazette template?

Asked by Sean Carney 3 years ago Last activity 3 years ago

In the content editing, "Images and Links" tab there is an option below the Intro Image and the Full Article Image to place a Caption. But, the Captions are not displaying anywhere. Is there a way to get those captions to display?

We are using the Gazette Template.

A sample page with Captions to display is located here:

Backend: https://www.shalomadventure.com/administrator/index.php?option=com_content&view=article&layout=edit&id=2846

Frontend: https://www.shalomadventure.com/torah/articles/this-fool-didn-t-know-when-to-stop

Thank you, Sean Carney

Accepted answer

Marked as the solution
Sean Carney Asked this

OK. Will do.

6 more replies

Sean Carney Asked this
3 years ago · edited

That almost worked perfectly! Thank you very much. There is only one change that it made to all my pages which I would like to undo. That is that it made the menu align to the left where previously the menu aligned to the center. Actually it is not just the menu that changed but also the top row with the menu, logo and search also changed. I guess in a perfect world we would not be changing the top row or the menu row but would be changing the rest. This way the Articles and the Page Builder Pages will match each other.

Is there any way to change the width of the body without changing the width of the two top rows?

Could it also work out so that the top rows stay the same for pagebuilder pages and for article pages. It doesn't seem right that they are not the same.

Here you can see the menu center aligned before adding this CSS code:

https://drive.google.com/file/d/1kpJViqK_zDV2QQCj9ezqjcfWa_NaY74Q/view?usp=share_link

In the following two pages you can see the menus became left aligned:

Menu Became Left Aligned on Page Builder Pages:

https://drive.google.com/file/d/1SubswXJb9_Zhl_iFh3-W5D1MqrsdhRFU/view?usp=share_link

Menu Became Left Aligned on Article Pages:

https://drive.google.com/file/d/1JE7rKyiwMruA9TT3cUc2UDURv1xodSxT/view?usp=share_link

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. And glad to know that it is working. Thanks for sharing the answer also.

-Regards.

Sean Carney Asked this

Could you give me a snippet of CSS that would center align the menu on the desktop?

Mehtaz Afsana Borsha Staff

Use this custom CSS

#sp-header .container {width: 100%;}
.sp-megamenu-parent {
    margin: 0 auto;
    float: none; text-align: center;}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Sean Carney Asked this

Thank you kindly. After all of that our team decided they liked the left alignment like in your original solution better although I may show them this option just to make sure.

Also, I realize that somehow the original intent of this ticket was missed. I am sure that was my fault. I believe I answered a different ticket here and that took us off in a wrong direction. My apologies!

Here was the original request of this ticket that I am still wondering about:

In the content editing, "Images and Links" tab there is an option below the Intro Image and the Full Article Image to place a Caption. But, the Captions are not displaying anywhere. Is there a way to get those captions to display?

We are using the Gazette Template.

A sample page with Captions to display is located here:

Backend: https://www.shalomadventure.com/administrator/index.php?option=com_content&view=article&layout=edit&id=2846

Frontend: https://www.shalomadventure.com/torah/articles/this-fool-didn-t-know-when-to-stop

Thank you, Sean Carney

Mehtaz Afsana Borsha Staff

Ok no worries. If possible create a new forum post about it.

Log in to reply.