Jump to content

Archived

This topic is now archived and is closed to further replies.

kulmetehan

iFrame doesn't resize, keeps full size

Recommended Posts

kulmetehan

Hi guys,

 

Okay, what I'm up against is the following: 

 

1)

As you can see on this page: http://www.highpowereurope.net/hoe-werkt-highpower/

The embedded video takes up the entire page, while I've set the size for the iframe at 200x200.

See screenshot here: http://cl.ly/image/103G0c1L2e0r

What is going on here, why is it at 100% while I've set it on 200x200 and how can I fix this?

Thanks in advance.

 

2)

On this page I have a table: http://www.highpowereurope.net/certificering/

And even though the border is set to "0", the lines are visible.

What can I do to fix this?

 

Thanks in advance, you the best!

Share this post


Link to post
Share on other sites
Danny
Hi,
 
1. The MediaBox is currently not correctly to the right height, it has been fixed and will be available in the next upcoming patch. Therefore, for the time being add your code to the TextBox section instead, this will resolve your issue.
 
2. That actually appears to be a bug, which I will report.
 
In the meantime, you can do this:
 
Add the following to your custom CSS:
 
.no-border td {
border: 0 none !important;
}
 
The for your Tables HTML, replace <table> with this <table class="table no-border">
 
This should resolve your issue.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kulmetehan

Hi Danny,

 

Thank you for the reply!

 

The first solution worked straigt away (text box), thanks. I'm going to try out the other one tomorrow.

Share this post


Link to post
Share on other sites
kulmetehan

Danny,

 

Actually, could you be more clear about what exactly you mean with the second part?

 

Could you for example point out in which exact file and preferably which line, I have to put this piece of code.

 

I'm still a noob so from time to time I need that push in the right direction :)

Share this post


Link to post
Share on other sites
Danny

The code I provided above:

 

.no-border td {
border: 0 none !important;
}

 

Add this code to DMS Toolbar > Custom Code > Custom LESS/CSS

 

Like so - http://d.pr/i/aFc1

 

Then click Publish, now goto Wordpress Admin Dashboard > Pages and select your Certificering Referenties page, where you have the code for your table. Which will start like this:

<table border="0">

Replace the above with the following:

 

<table class="table no-border">

 

Then click Publish, to make the changes and then refresh your page. The table should now have no border.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kulmetehan

Worked as a charm. Thanks!

Share this post


Link to post
Share on other sites
Danny

Cool and no problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
×