Hello,
Please provide us with link to the page with that image.
Regards,
Robert Hall.
Solved15 replies3 participantsUpdated by Eva Kemp
Using a text block in page builder, I am placing an image with center alignment. No other content in the text block. The code looks like this
[caption id="attachment_15277" align="aligncenter" width="300"]<a href="http:/****/wp-content/uploads/revslider/Lawyer/21.jpg"><img class="wp-image-15277 size-medium" src="http://***/wp-content/uploads/revslider/Lawyer/21-300x187.jpg" alt="text here" width="300" height="187" /></a> My caption[/caption]
It looks fine in text block and it’s centered in the visual tab. However when saved and viewed the image is left aligned. Please tell me how to make this image centered?
Thank-you
Hello,
Please provide us with link to the page with that image.
Regards,
Robert Hall.
Private reply
Hello,
Please try to use this code in custom.css file:
.wp-caption, .wp-caption-text, .gallery-caption, .bypostauthor, .aligncenter {
margin-left: 100px !important;
}
How to create custom.css you can watch here.
Regards,
Eva Kemp.
private content
Hello,
Could you please provide us with wp-admin panel credentials in Private Content?
Thank you.
Regards,
Eva Kemp.
I have replied to your last post here twice (private content) but it is not showing in the conversation. Do you have my logins as you requested?
Thank-you.
Hello,
Unfortunately we don’t have them.
When writing in Private Content you need write some text in the public text editor as without it Private Content can’t be sent.
Please try again.
Thank you.
Regards,
Eva Kemp.
The two images are under home page section ‘The Who?’ Images need to be aligned center of each text block.
Also punch fonts are not working setting or editing the font makes the section open and close instantly. Cannot access
Hello,
You didn’t rename default.custom.css file to custom.css. Please do this via FTP in wp-content/themes/royal directory.
Also please provide us with FTP credentials to check the issue with Punch fonts.
Thank you.
Regards,
Eva Kemp.
Thank-you. I have renamed the style sheet as requested. The images still don’t align completely. Not sure why this is or where to go with this? Any more ideas, please…
Hello,
As I see the images are centred.
Try to clear browser cache or check with some other browser.
Thank you.
Regards,
Eva Kemp.
This is what I’m seeing with a cleared cache
with a clean cache. BTW In fact your screenshot show the images slightly right of the text!. It just not right. My client will see this and reject it.
Hello,
Please check it now and clear your browser cache.
Thank you.
Regards,
Eva Kemp.
Ok, thank-you.
Hello,
The screenshot is removed.
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Unable to center image in a text block or single image’' has been successfully resolved, and the topic is now closed for further responses
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
BarbershopBeauty
(live demo, opens in a new tab)
Electron Store 02Electronics
(live demo, opens in a new tab)
Electronic Mega MarketElectronics
(live demo, opens in a new tab)
Pet ShopPets
(live demo, opens in a new tab)
KidsstoreToys & games
(live demo, opens in a new tab)
CleaningBusiness
(live demo, opens in a new tab)
Minimal ElectronicsPortfolio
(live demo, opens in a new tab)
Organic Store 02Food & drinks
(live demo, opens in a new tab)
Organic StoreFood & drinks
(live demo, opens in a new tab)
WeddingFashion
(live demo, opens in a new tab)
Hemp & CDBBeauty
(live demo, opens in a new tab)
Lifestyle BlogFashion
(live demo, opens in a new tab)
Niche Market 03Marketplace
(live demo, opens in a new tab)
Furniture DarkFurniture
(live demo, opens in a new tab)
Car Parts StoreCars & bikes
(live demo, opens in a new tab)
Real EstateReal Estate
(live demo, opens in a new tab)