Jump to content
fabriceunko

to center an image and a video?

Recommended Posts

Hello, can you tell me how center or aligned the image to the video I test a lot of things but I can not do it ..

 

erreur-1.png.81eeb7619c25f789c0e791341f42e879.png

 

this is what gives him as disaster ,How to align the small picture on the left with the right video in green ?.

here is the code I used

<p style="text-align:center;"><img alt="" src="/boutique/santons-de-provence/peyron-campagna/images/source/test/blason-francais.jpg" style="width: 47px; height: 60px;" />
<video autoplay="true" height="60" loop="" width="468"><source src="/boutique/santons-de-provence/peyron-campagna/images/source/video/demoslash.mp4" style="width: 468px; height: 60px;" /></video>
</p>

If anyone can help me I offer a beer

Share this post


Link to post
Share on other sites

Try:

The <p> tag: remove the style.

The <img> tag, add to style: vertical-align: baseline;

 

Share this post


Link to post
Share on other sites

After making the edit to the template, you may need to have CubeCart clear its internal cache.

 

Share this post


Link to post
Share on other sites

yes i know that we must clear the cache, i even disabled in the administrator. But i can not apply your answer. that's why i say i'm really bad.

Share this post


Link to post
Share on other sites

Are you saying that making the edit is not possible for you? You have no access to the file that needs editing? Or you have no computer program that you can use to load the file into and make changes?

Or the editor will not allow you to make the changes as shown above?

Or, you are making the edit, but the changed file is not what is being sent out of the web server and received by the web browser? (Some people realized they were changing files on the wrong web site.)

Share this post


Link to post
Share on other sites

Not wat i mean is that the cubecart editor changes the code you told me and the display does not change it's always off. on the other hand in the cubecart editor he is well aligned

Share this post


Link to post
Share on other sites

This is the HomePage document. It is stored in the database in CubeCart_documents table. Use an external utility (such as phpMyAdmin) to examine the 'doc_home'=1 record, and view the 'doc_content' contents. If the vertical-align:baseline; code is there, then CubeCart is still fetching query responses from the cache.

When clearing CubeCart's, internal cache, the /cache/ folder should now have no files, especially not those that have .sql. in the filenames.

Share this post


Link to post
Share on other sites

Please look again. The database table CubeCart_documents must exist.

Note: the database table names could have a prefix, such as:
userfab_CubeCart_documents
where userfab_ could be anything.

Share this post


Link to post
Share on other sites

ok yes I found in phpmyadmin cubecart_documents
but afterwards for me it's too complicated, I'll stay with the shift or find another position to put this image

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...