End of Support for Joomla 3 - Forum closed

Component not staying aligned.

  • Dennisp3
  • Topic Author
  • Visitor
  • Visitor
  • Thank you received: 0

Component not staying aligned. was created by Dennisp3

Posted 10 years 1 month ago #6947
Hi,
I have created a Header including a logo. (image enc)
I adjust the header so that the left hand edge of the logo aligns with the graphic. When I view the site everything appears to be in line, however, when I view a different page the the image moves to the right. What do I need to do to keep the correct alignment.
Thanks
by Dennisp3

Attachments:

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

Replied by joomlaplates on topic Component not staying aligned.

Posted 10 years 1 month ago #6951
Hi there,
it is simple css/html know how. And please do not use the "crazy" JCE editor to align your images.
If you want to float 2 objects within one container you have to use one of these options.
There are 2 Options to solve the aligment:

1.) Option

<div class="uk-clearfix">
<div class="uk-float-right">...</div>
<div class="uk-float-left">...</div>
</div>

2.) Option

<img class="uk-align-left" src="" alt="">
<img class="uk-align-right" src="" alt="">

Last Edit:10 years 1 month ago by joomlaplates
Last edit: 10 years 1 month ago by joomlaplates.
The following user(s) said Thank You: Dennisp3

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

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License