How to centre an image?

I’ve just started a trial. I need to centre an image in a blank page. I added an image block (dragged from the side menu), but can see no way to align it with the horizontal centre, or with anything else. I’ve been trying for a few hours; I’ve searched for an answer, but found nothing.

What I found was something about a thing called a Flexbox, but nothing on what this is, or how to use it. I also found a few pages purportedly offing tutorials, but the advice they contained didn’t seem valid.

Thanks.

You can do this a few different ways. It depends on how the page is structured and where the image is located in the code structure.
First of all just try add css to the image:
margin-left: auto;
margin-right: auto;

Thanks, but that code didn’t work. I copied & pasted it, but the image just remained stuck to the left hand side.

Since posting this question, I have figured-out to first add a container, and then the image within the container. Further messing with the options, and I has able to centre the image.

paste the code or file, because without it it’s impossible to help

Thanks again.

I entered the code you gave into the add CSS box.

Anyway, I appreciate your help but I’ll not be continuing with Pinegrow. The software is absolute garbage. It comes with a need for the user to learn a lot before being able to do anything at all with it, and there’s a lack of tutorials on YouTube, and I fail to see any other way to learn how to use it. I’m not about to post 20-questions here every day for a week until I get it.

Such software should be intuitive to use from the outset, so the Pinegrow developers have absolutely failed in this respect. This software could be great, but it’s not. It’s terrible, and only those with programming knowledge will stand any chance with it.

Do you happen to know of any other web builder that might be suitable, please? Everything I’ve found is garbage. I honestly do not know how the Internet can be so big considering the garbage software available to make websites with.

Pinegrow is a professional tool designed for professionals. Without proper knowledge, there’s no point in even attempting to use it. If you don’t understand HTML tags and coding fundamentals, you should start by learning the basics of HTML/CSS before using any advanced tools. Otherwise, you’ll end up frustrated and helpless.

From what I can see, you lack these fundamentals, so you’d be much better off using a visual WordPress builder like Elementor or Divi (which I personally dislike because they offer very little code control). However, these tools would work perfectly for you since you’ll be able to see the visual changes without needing to understand the underlying code. Plus, you’ll have access to a wide range of ready-made templates.

1 Like

To be fair Pinegrow is very up front that it is not for everyone. It seems like you want a basic drag and drop page builder.

1 Like

BTW
If you’re a MacOS user, you can try Blocssapp - which allows you to create Bootstrap-based websites in a more visual way. While some knowledge is helpful, it’s not a determining factor.

And if you’re a Windows user with any aptitude for graphic design software, try Xara Web Designer where you can literally draw your website and the program will handle all the code for you.

1 Like

Im a 3rd-party dev for Blocs. It’s about to have a new release v6. It finally will get some decent functionality. And probably due to Elements from RealMac nearing release. So if you are looking for a Mac app, wait until the end of the week to download the trial.

Since Blocs v5 though, there are an awful lot of recurring bugs. So keep that in mind. I stopped using it for commercial use, after some time critical issues.

3 Likes

For me personally, Pinegrow strikes a perfect balance between what I can do visually and what I do in the code editor. I’m probably one of the first Pinegrow users in the world :wink: I’ve worked with all versions, and since version 3.0, it has become an essential part of my workflow.
Meanwhile, I’ve experimented with many other programs and technologies (I love to experiment), but in recent years I’ve been working almost only with Pinegrow. From rapid prototyping to templates, blocks, and WordPress plugins for clients.

1 Like

I amended my comment to make it clearer I was talking about Blocs.

But yes, Pinegrow has become my main app now. It’s a good balance of everything I need also. Having used it for the last year, I am still refining my workflow. It has been great for getting started with Wordpress, which I have avoided for many years, I was using OctoberCMS and before that Joomla. Being able to build a WP theme has been fantastic.

1 Like

I second that. I’ve been using Blocs for years as a third-party developer, and I never regretted switching to Pinegrow. While Pinegrow does have a steeper learning curve, the possibilities it offers are limitless. Even for individuals like me who build a few websites simply for fun and without commercial interest to keep their minds sharp.

3 Likes

Or… if you’re looking for immediate results (while learning along the way) you can use Mr. Pine Cone, our friendly AI assistant.

Sure, you’ll need an additional subscription with an AI provider like Anthropic (it’s the choice we highly recommend for coding needs) or OpenAI.

We documented the subscription process here.

With Pinegrow 8.2 available starting today (27-11-2024), these kinds of operations have NEVER been easier!!

4 Likes

So where is the process documentation for implementing the LLM as stated above?

examples of this would be, for instance via

or

They offer different ones to your chosen AI model, but that would be my preferred option to check out and maybe others who dont wish to sign up to some ongoing subscription to some non preferred organisation.

Thanks

Hey there,

Right now, we don’t have any specific guidelines for local LLMs since there are so many out there. However, it’s crucial that they provide an API that’s compatible with the OpenAI API.

2 Likes

Regarding Pinegrow 8.2: Do you have any tips & tricks for creating Block themes with Pinegrow?

@MONO A quite big video about WordPress blocks is in the works, BUT we’re straying from the original topic (how to center an image), so I encourage you to stay tuned for our upcoming announcements :slight_smile:

2 Likes

This topic is very good, very timely because we’re hallucinating like AI :slight_smile:

I understand you, I feel the same way. You know, I bought a car, but I don’t have a driver’s license let alone driving skills. I got into the car and there were so many fucking levers with weird symbols. Pedals, knobs, etc. What the fuck is that, the car is supposed to be more intuitive, it’s supposed to transport me from point A to point B by the fairy power of stardust, I don’t have to do anything.

Whatever, “pacificus,” for trolling you could have chosen a more creative name. :see_no_evil:

3 Likes