Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Position images

Started by Robert Loeffler 4 years ago · 4 replies · 729 views
4 years ago

If an image is added to a post, it will be placed before the text. However, I would like to place it at the very bottom. This is possible, but then you have the images twice.
Is there a way to place the images exactly where they should be?

4 years ago

Yes, but it depends purely on a post template. You'd have to create a new template in a theme. If it's not your own theme you're using, you should create a new one, inheriting the one you want

👍 1
4 years ago

@Karmalakas:
it depends purely on a post template

+1, tell us which theme and template you are using please @Henning007. This is totally doable.

4 years ago

@Henning007, Without providing proper information like...

  • The theme being used. Preferably with a url pointing at the repo of the theme.
  • The template being used for the page
  • What you are are trying to achieve:
    • The current situation: How things look right now
    • The desired outcome: How would you like it to look like after the change
  • What has been tried so far (e.g. showing code before and after)
  • etc.

... a few things will probably happen:

  1. Users will skip the question
  2. Users will not be able to provide a specific answer and will resort to general guidelines.
  3. Users might ask for clarification. If no sufficient clarification is being provided, users might fallback to 1.
👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by lynbor, 3 weeks ago
3 352 3 days ago
General · by lynbor, 1 week ago
7 387 3 days ago
General · by Harry, 3 days ago
0 83 3 days ago
General · by Old Man Umby, 3 weeks ago
2 256 2 weeks ago
General · by jeremycherfas, 3 weeks ago
5 374 2 weeks ago