Custom HTML footer in Joomla is not in full width - joomla

I'm designing a basic website with Joomla Protostar theme (3.3). When setting a custom HTML footer, only left 2/3rd is occupied.
I didn't change any codes in index.php or template.php
Please help!

Related

How to override cms-full-width.xml in Magento 2.4..3-p1

In my Magento 2.4.3-p1 I want to change the layout of the CMS pages to be the same as the product page. Currently, the CMS page contents are shown in full width. It is adding the class page-main-full-width to the maincontent tag. This is added from the file vendor\magento\module-page-builder\view\frontend\page_layout\cms-full-width.xml. How can I override this file in my theme? I have tried luma_custom/Magento_Page_Builder/page_layout/cms-full-width.xml but is not working. Please help.

Prestashop 1.7 custom CMS page CSS best practice

I have created a custom page in prestashop 1.7 by creating a new controller.
I saw that there is a way to create CMS pages in the backend. How can I create a template for this CMS page that contains the custom CSS and JS for this specific page?
In a page cms, you can identify it in css and JS thanks to its ID "cms" and then thanks to its class uniquer: cms-id-x
See the body tag of a CMS page:
<body id="cms" class="lang-fr country-us currency-usd layout-full-width page-cms tax-display-disabled cms-id-1">
Regards

How to add share buttons in magento CMS pages?

I have created CMS pages in Magento and I want to share with Social site using share buttons Facebook, Twitter, Google+ so any one to tell me how to do that ?
Add this part to :
your_package/your_theme/template/page/html/head.phtml
before this line --> <?php echo $this->helper('core/js')->getTranslatorScript() ?>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-c297c92f-9661-1cf3-697d-47c19ab7e281"});</script>
Add this part to your cms page :
<span class='st_facebook_hcount' displayText='Facebook'></span>
<span class='st_twitter_hcount' displayText='Tweet'></span>
<span class='st_googleplus_hcount' displayText='Google +'></span>
NOTE: using sharethis extension
You can check below URL for Addthis button, select style of button you want to share, grab the code and add that code to Magento Admin >> CMS >> Pages. click on to Html view of Editor and paste the code which you have grab from Addthis site, and you will see share buttons on front end. Another method is you can add this code to your template file commonly used for Example 1column.phtml is used for CMS pages and you need Share buttons on all CMS pages then you can paste the same code in .phtml template file.
Add this : https://www.addthis.com/get/sharing#.UK8_PoafHcc
Although this is an old thread i would like to share my answer which i found.
Add a meta tag in
template/page/html/head.phtml
<meta property="og:site_name" content="yoursite.com"/>
Create a Custom Variable from System/Custom Variables by pasting the Facebook sharing button code to Variable HTML Value.
To add like/share button to cms or static block, use the “Insert Variable” button to insert the Custom Variable you have just created.

Joomla. Where article is outputed?

I'm new in Joomla and so need some help with basic.
I have write template for Joomla 1.7 and use it in such way:
Template have one position called "main".
I use custom HTML for building page structure and include modules with ModulesAnywhere plugin.
Now I have module which list all articles from category. When I click on the link I am redirecting to my_site/category/article_name. But where article text is outputed?
It seems like that it should be ouptuted in position. If so how could I dynamicly add this tag in my custom HTML?
The articles are showed by default (or any other component content)where this tag is located in your template:
<jdoc:include type="component" />
Normal content does not require any position like modules.

Joomla 1.5 jdoc include type head works only on homepage?

I have a problem withjdoc include head. On any other page than Home, the <jdoc:include type="head" /> result is not complete, it does not include jQuery library etc. but only the title and favicon. Any idea how could I keep the JS libraries and all from jdoc head on all pages, not just the homepage ? I don't know why they get loaded on home but not on login for example, or search...
Thanks.
By default header in Joomla doesn't contain jQuery... It loads Mootools.
If you need to load jQuery you have to use a plugin like this one.

Resources