Ian B
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Aligning an image carousel in the centre of the pageHi Sam,
I started a demo of the Visual Composer product and I can now see what you’re dealing with. Seems the tool does not respect design options where the margins or padding (left/right) are set as auto. I cant seem to find any detailed documentation either so I’m not sure wat the constraints are. One option for you might be to use the responsive settings to create a row that has a 3 column layout and place your carousel in the middle column. It’s still not perfect cause you will end up at the left edge of the centre column.
The style snippet I posted previously can be inserted immediately before the carousel in the page html and should work but it is a hack not a proper use of the VC tool.
If all else fails and the documentation is not available or helping you should be able to email them for product help.
Good luck.
Forum: Fixing WordPress
In reply to: Cannot upload any imagesMediathek apparently has not been updated for two years – it may not be compatible with current WordPress releases.
Forum: Fixing WordPress
In reply to: Cannot upload any imagesIt may be related to your host provider apache server setup (assuming they use apache).
Ours recently moved us to another server and we were no longer able to upload media at 131K or greater.Not Permissions
The ability to upload files < 131K indicated to me there was no permissions issue.Not Image Dimensions
I also checked the settings for image dimensions and found that I could still load very large dimensioned images as long as they were < 131K.Check the Logs
After checking the server error.log I found the clue:
[Wed Sep 30 00:10:09.378986 2015] [fcgid:warn] [pid 20692] [client xx.xx.xx.xx:pppp] mod_fcgid: HTTP request length 131768 (so far) exceeds MaxRequestLen (131072), referer: XXXCheck the Apache Docs
https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen
This document indicated the default setting for this apache module limits request length to 131K.Impact?
This is going to stop any request larger that 131K no matter many images and PDFs, etc are often larger than this.Contact your Host
At this point I need to contact my host provider and ask them to investigate and fix the issue. The only potential push back is when the service is shared (often the case) and they are unwilling to adjust the server settings. If that becomes the case time to check the host market. In our case the recent switch of servers probably meant we got some default settings and all going well they will see this and adjust for us.Good luck!
Forum: Fixing WordPress
In reply to: Aligning an image carousel in the centre of the pageI’m not familiar with the VC tool but looking at the page I can see that the image carousel already has a class called: vc_images_carousel.
If you copy the following lines into your article it will centre the image carousel within it’s column.
<style>
.vc_images_carousel { margin: 0 auto; }
</style>Doing this style change in your template would be a better option, and there may be a better option still for the carousel device but again I’m not familiar with it. When the carousel asks for extra class names to be added you can only use class names (e.g. mystyle) not the styles they define (e.g. text-align: center). Text-align also will not work for image alignment.
Good luck.