TinyMCE Toolbar CSS inside a Div - css

i am creating a single TinyMCE toolbar for multiple containers & fixed it at top of all containers area, inside a div wrapper, but i have found that entire CSS of toolbar is lost,after wrapping. It appears like hyperlink urls only. Is there anyway i can apply CSS(Ui.css) link to toolbar inside a div Or any other workaround

You will need to apply the css to your main page (that is whre your toolbar is located at).

Related

Hide some elements in the footer using css

I need some help hiding some elements of the footer of my page, I am using a child theme and I have copied the footer.php file from the Main theme folder to my child theme folder.
I have tried to modify the code but it didn't work.
Basically this is my website. www.hodst.com
In the footer section on the left bottom I want to hide all the Social icons and links.
And I would like the copyrights, terms & conditions and privacy policy to be aligned either in a single line or each on a seperate line but properly aligned.
I tried to align the copyrights section in a single line but i think the width of the container is not letting it happen.
Any help would be much appreciated.

overriding site !important for a 3rd party popup

I want to show a popup with content in random websites.
The popup is a div I create and the content is coming from an editor with its own CSS.
Since I dont want the site CSS to effect the look of the popup I have some css to reset general things like table width inside the div that runs before the div content css.
The problem is what to do when the site uses !important on some general css like table width. I know I can add !important to the reset css so table width will reset inside the div but the content includes html/css I take from the editor which doesnt include !important. so adding !important to reset the site CSS will kill also the content CSS.
Any solution to this dreadful situation?

styling my bootstrap modal with CSS

I am trying the Move records Modal exactly on top of below Modal but I am not getting the styling that I need. Below is the image and I am applying styling on it.
Here is my image link
:https://drive.google.com/open?id=0BwgG2ftgvg_YUnZNRnpaWmFIZkNYbEg2WVZuLXBuZEtkNEo0
You have to set the greater z-index for container which should be in front than container on back.

Prevent parent page from scrolling when mouse is over embedded iframe

...without limiting the scroll inside the iframe or the need to specifically name the scrollable elements.
I have a google-map-like widget that can be embedded in 3rd party websites in the form of an iframe embed code. When people use mouse wheel over my widget I want only the content of the widget to scroll and not the parent page.
My question is similar to How to prevent page scrolling when scrolling a DIV element? but my problem is that my ifrmae contains multiple elements including media and canvas that must keep listening to mouse wheel event. TLDR the solution to use e.preventDefault() and manually update the scrollTop property of all elements inside the iframe that should stay scrollable is impractical, error prone and dependent on the non-standard wheelDelta property.
Here is a JS Bin for your convenience. Thank you.
While scrolling inside an iframe, the body doesn't know anything about what happens there. But when iframe scroller reach the bottom or the top, it pass scrolling to body.
See my jsFiddle and console log there.

Move a div that's outside the body tag to inside body tag

I have a wordpress plugin that puts social icons at the top of my website. The problem is though the div is outside the main body div (or wrap div). Therefore, when I change the width of my site the social icons move relative to the browser window and not no the actual content of my website. Normally it would be as simple as just moving that div outside the wrap div to inside it, but it is a plugin and the structure of the plugin is nasty in that the div structure is in a minified javascript file and not in a nice HTML/PHP format.
So if you go to my site: http://warringah-plastics.com.au/ you can see the social icons in the div "dcsmt" in the top right hand corner and I want to position it to the left of the website search box where those existing social icons are. How would I do this? So I really want to put the "dcsmt" div inside the existing "top-cont" div. Thanks!
Create an empty div and give it a name "social_icons_wrapper" in your header near the search box where you want the social media icons.
Then call the following javascript from your footer:
var div_to_move = document.getElementById('dcsmt');
document.getElementById('social_icons_wrapper').appendChild(div_to_move);

Resources