FlexSlider: Way to change from displaying images to displaying text? - html

Regarding flexslider
Is there any way to modify it from displaying images to displaying only text? Or is flexslider only for animating images? If so, can you give me a hint what would have to be changed?
Thank You
For each slide in the slideshow I would like to display varying amounts of text only. And I would like to reliably keep the slider controls responsive and in a standard position on the screen as each slide changes. I am not really concerned with displaying the images.
In some of the li examples which can be found in the zippy-share link below, I associate an image file with the "flex-caption" CSS Selector found in flexslider.css file. Using an associated image file for each text paragraph seemed like my best bet to force the slider controls to stay in that standard position as each slide changed. Am I on the right track?
I am not really concerned with displaying image files.
An html version of this problem can be found at the zippy-share link below:
http://www51.zippyshare.com/v/46072947/file.html
take a look at the li examples in the main index.html

You can replace the image with the text you want to put. Please remember to modify the minItem and maxItem to fit your need.

Related

Responsive Slider with Image Position Changing

At the moment I'm trying to make a responsive slider with text on the left and an image on the right.
On smaller screen, the image should move above the text (see below).
I have already tried this on a few occasions (for example with a grid or two images), but it did not work.
Mobile:
Desktop:
(Image source for the example: https://guten-tag.cmsmasters.net/)
Update
Hi, thanks again for your feedback, and correct, some code I should have actually mentioned. Nevertheless, I have found a solution to the question here. Thanks for your time anyway ;D

How do I hide an image within a gallery with CSS?

I have a gallery plugin on my Shopify website which doesn't have an option to hide an image within the gallery. It does have a custom CSS option within the gallery so I'm trying to find out if anyone knows how to hide a certain image in a gallery using the CSS option.
I want to hide an image within the gallery - not the entire gallery.
The HTML code for the gallery is:
<div class="cz-embed-gallery" id="cz-embed-gallery3926"></div>
The images have a caption, image link, and a title.
Take a look and see if you can help.
Thanks.
You can hide any element by assigning display: none to the class, id or whatever is valid in CSS as an identifier.
Take a look a the basics of CSS.
https://www.w3schools.com/css/

How do I create a pattern overlay in CSS

I'm trying to create a header for my website but I'm having a bit of difficulty as I'm new to HTML and CSS. I want to create a banner with the same font and background as shown below. They consist of a certain colour with a pattern overlay at 44% opacity, which I'm not sure how to do.
I originally uploaded the header as an image, but I was told it's bad to use large images on websites as it make it longer to load. So I tried creating it via code. If anybody could please help replicate the header below, I'd greatly appreciate it. Thanks.
Link to my current HTML & CSS Code via Fiddle
Link to Banner I want to replicate
Here you have your fiddle updated: FIDDLE
I've fixed a few things in the html like tags not closed (your headers) and now the "container" contains the banner propely.
So now you just have to add a background image with the pattern you want and (as you did) play with the opacity value of your text.
#container {
background-image:url(http://zimasolutions.com/Images/pattern.png);
repeat:repeat;
}
Use the repeat option for the background image so you just need a little image.
I uploaded temporally the image pattern.png I have used as an example. I took the sample for the image you linked. In a few hours I may delete that image.
Edited: IF you want the pattern image OVER the text insteed of under it may be more complicated. You could absolute position a container over the banner but in this case you may need to change the image opacity with an image editor (like photoshop).

How do I display multiple images onto one images in HTML

I want to use HTML and display one large image.
On this large image I then wish to display multiple smaller images, all on different places and sizes.
I would prefer doing this using HTML only.
But, if this is not possible, Javascript or something like that is also an option... :-)
If anybody has any idea using PHP, that would also be great.
I have search the web and StackOverflow, and tried MANY possible solutions, but none of them allowed me to display one big image, and then display multiple other images on top of this big image.
Any help would be greatly appreciated.
Kind regards,
Michael
you can use a container div which will contain all the smaller images. You can set background of that particular div.
your html as
<div id="container">
</div>
and css as follows:
div#container{
background-image: url("image.jpg");
background-repeat:no-repeat;
height:100%;
}
Two alternatives:
defining the big image in as background using CSS, then you can put onto it whatever html markup you want to. Such backgorund can also be declared for elements like divs, not only for the whole page.
use absolut positioning inside your style definition. That way you can add big and small images to your markup and then position them on top of each other.
No javascript required for this and php has nothing to do with this.
You can position them as I have done in this JSFiddle: http://jsfiddle.net/xxUpk/
The top:-NNNpx is crude, you could use float and many other ways of positioning them. Also look into z-index to layer them.
you cannot overlay an image over another image in pure HTML only, but what you CAN do is re-locate a image's position onto another tag and just move it accordingly with css.

HTML image display

I have an html file where i am loading images from an xml file in to it. i am using jtemplate for that. I am getting the images properly.but i want to display them horizontaly those are coming as vertical. Please help me to do that,This is the sample.
<img …><img …><img …>
By default, images are inline. They will appear in a horizontal row (subject to word wrapping) unless you add additional markup or styling to make it otherwise.
You can't rotate images in HTML or with javascript. You need to use some serverside programming language as PHP to crop or rotate image.
Make sure that the sum of widths of your images is less than the width of the container.