🇮🇳India @Muskan kumari

Account created on 10 March 2018, over 6 years ago
#

Recent comments

🇮🇳India Muskan kumari

Hi,
Asset Injector adds the custom CSS and JavaScript as libraries, which means these appear as attached assets. Asset Injector does not insert the CSS or JavaScript directly into the page HTML. That is the reason you do not see these items directly in the HTML.

🇮🇳India Muskan kumari

Hello,
we can do this by jquery:
below is jquery for this:

var showChar = 100;
var ellipsestext = "...";
var moretext = "Show more >";
var lesstext = "Show less";

jQuery('.content p').each(function() {
var content = jQuery(this).html();

if(content.length > showChar) {

var c = content.substr(0, showChar);
var h = content.substr(showChar, content.length - showChar);

var html = c + '' + ellipsestext+ ' ' + h + '  ' + moretext + '';

jQuery(this).html(html);
}

});

jQuery(".morelink").click(function(){
if(jQuery(this).hasClass("less")) {
jQuery(this).removeClass("less");
jQuery(this).html(moretext);
} else {
jQuery(this).addClass("less");
jQuery(this).html(lesstext);
}
jQuery(this).parent().prev().toggle();
jQuery(this).prev().toggle();
return false;
});

🇮🇳India Muskan kumari

Hi, for this you can define some min-height to the wrapper div and set css overflow: auto;

🇮🇳India Muskan kumari

I have created a patch for this, please review it.

🇮🇳India Muskan kumari

Please select Full HTML in place of Basic HTML in editor Text format. also clear the admin cache for viewing.

🇮🇳India Muskan kumari

Hello,
I Have created a patch for this, Please review the attached patch file.

🇮🇳India Muskan kumari

Hi,
Your problem solve by removing the "Aggregate CSS files".
for this you need to go this root :
"/admin/config/development/performance"
and uncheck the Aggregate CSS files and save the configuration.

🇮🇳India Muskan kumari

Please add below CSS code in Drupal Seven theme:

-webkit-box-sizing: content-box;
box-sizing: content-box;

🇮🇳India Muskan kumari

We know browser default font is Arial (sans-serif) or verdna, That's why we can download and use the bold font of either Google font Arial (sans-serif) or Verdana. And added the appropriate @font-face into the font's CSS and it works.

Production build 0.71.5 2024