-
AuthorPosts
-
February 25th, 2017 at 22:17 #42934
Is there any way you can auto resize an image that placed in the right sidebar?
Currently it is in a text box and I’m using the following code –
img src=”http://www.mywebsite.com\image.jpg” alt=”my description” /
I was wondering if there is a better way of doing it as I’m new to Parabola.
-
This topic was modified 8 years ago by
madman070578.
February 26th, 2017 at 17:29 #42941Zed
Cryout Creations mastermindAdding a
style="max-width: 100%;"parameter to each image code would be the local solution.
The alternative would be to add custom styling to apply this for all sidebar images:
.sidey img { max-width: 100%; }If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.February 26th, 2017 at 18:08 #42947Thank you Zed.
Would the custom styling go in the Custom CSS under Miscellaneous under the Parabola Settings?
Is there any way that CSS can be added to leave a line between paragraphs under the Sidebar?
March 10th, 2017 at 18:12 #43145Zed
Cryout Creations mastermindCustom styling can be placed in either Parabola’s own Custom CSS field (in the settings) or in WordPress’ new Additional CSS field (in the customizer).
.sidey p { margin-bottom: 1em; }
should add the extra space (adjust the value as necessary).If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
This topic was modified 8 years ago by
-
AuthorPosts
The topic ‘Auto resizing of images in right sidebar’ is closed to new replies.