How do I change CSS & templates files in order to integrate my theme ?
If the buttons are displayed incorrectly or are missing with your theme, start with the module settings and the targeted HTML container.
Check positions and design
In “Connectors position management (native hooks)”, check that the connectors are assigned to the required position. “Design management (native hooks)” and the advanced position settings let you adjust the block. If your theme uses another container, follow the advanced positioning procedure.
References for your integrator
The following paths are relative to modules/facebookpsconnect/:
views/js/front/social_login.jsbuilds the buttons and inserts them into the configured HTML elements after receiving data fromcontrollers/front/ajax.php.views/css/hook.cssandviews/css/bootstrap-social.cssare among the front-office stylesheets.views/css/connectors.csscontains styles generated from the position settings.views/templates/front/andviews/templates/hook/contain additional screens and fragments; the current login buttons are built by the JavaScript file listed above.
Positioning prerequisite: the configured selector must match a container present on the theme’s page. Legacy IDs such as header_user, center_column or opc_new_account are not universal requirements for every theme.
The module uses different selectors depending on the PrestaShop version, and your theme can also change them. Ask your integrator to inspect the actual DOM. Also see the login-page display checks.
Do not customize views/css/connectors.css directly: the module regenerates it after certain setting changes. Keep custom adaptations in your theme’s customization mechanism and back them up before an update.
If you are unfamiliar with CSS, JavaScript and your theme’s templates, ask your integrator or support for assistance. Verify the result with your theme on a test shop.
Other FAQs in this category
- Why are the email addresses of the Facebook login button users not being retrieved correctly?
- Why don't my login buttons appear on the login page?
- Why does Google give me the error "You do not have permission to access this document"?
- How do I get the Google connector to work for PHP versions below 7.4?
- What do I do if I get a "you may be a victim of cross-site request forgery" message?
- What can prevent my customers from logging in automatically after they click on the login button?