how to add by css code news thicer has a icon like aljaseera inline desplay poth

Posted in: Newspaper
Post count: 118

how to add by css code news thicer has a icon like aljaseera inline desplay poth mobile and desktop becouse tagdiv has only one who has only text no icon before text

Post count: 35449

Hi,
Do you want to add an icon to some elements using CSS? If so, please let me know which icon you want to use and where you want it added. Also, provide a link to the icon (it should be uploaded to your website’s media library), and I’ll help you with the CSS.

Post count: 118

news thicker from edit tag div composer trend icon like aljazeera

Post count: 35449

Can you please provide a screenshot to that section you like so I can better understand the icon you’ll like on aljazeera

Post count: 118
Post count: 118

Just visit This Site And You Will See Clearly

Post count: 35449

Hi,
I see, if you want to use it on the trending now element from tagDiv Composer, you can use this custom css
.td_block_trending_now:before {
content: "";
position: absolute;
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuODMzIDEwTC42NjcgOC44MzNsNi4xNjYtNi4yMDggMy4zMzQgMy4zMzNMMTQuNSAxLjY2N2gtMi4xNjdWMGg1djVoLTEuNjY2VjIuODMzbC01LjUgNS41TDYuODMzIDVsLTUgNXoiIGZpbGw9IiMwMDAiLz48L3N2Zz4=);
background-position: 0;
background-repeat: no-repeat;
width: 100%;
height: 100%;
top: 1px;
left: -4px;
}

The results will be – https://prnt.sc/vFakDGQG2bCR
Thank you!

Post count: 118

Thank you Sir for Supporting me Now i meed To Make Size Inline icon with portiat style and mobile style news thicker trending icon also news mobile needs to look like desktop resise headline like desktop look these images both portiat and mobile style from tagdiv and https://www.maslaxcabletv.com/wp-content/uploads/2026/01/Screenshot_20260131_021658_Chrome.jpg
https://www.maslaxcabletv.com/wp-content/uploads/2026/01/Screenshot_20260131_021717_Chrome.jpg

Post count: 35449

Hi,
Ok, so now on desktop is set and is displayed correctly https://prnt.sc/5k-Gh59f5aB5 but you need it on mobile to be adjusted, for this css in the theme panel > custom code> advance css > phone css:
body .td-trending-now-wrapper {
flex-direction: row;
margin-left: 18px;
}

Post count: 118

also i need to put news center in the behnid trending now now they are not same driection also i need to fix portiat
https://www.maslaxcabletv.com/wp-content/uploads/2026/01/Screenshot_20260131_021658_Chrome.jpg

Post count: 35449

For tablet plase use this code:
.td_block_trending_now {
padding: 0 6px 0 20px;
}

Set the code under the theme panel > custom code > advance css > IPAD PORTRAIT – https://i.imgur.com/ejh2LNu.png

Post count: 118

watch this video recorded by phone i see load that saw you orignal desing idont needed and the post isnot paralel the behnid of news thicker like other i need to resise post headlines frenidly with the smart phones like desktop
[video src="https://www.maslaxcabletv.com/wp-content/uploads/2026/02/Screen_Recording_20260202_140812_Chrome.mp4" /]

Post count: 118

[video src="https://www.maslaxcabletv.com/wp-content/uploads/2026/02/Screen_Recording_20260202_140812_Chrome.mp4" /]

Post count: 118

[video src="https://www.maslaxcabletv.com/wp-content/uploads/2026/02/Screen_Recording_20260202_140812_Chrome.mp4" /]
now the videos clear you can see for your self

Post count: 35449

Hi,
I see what you mean. The original design is displayed because the page is not yet cached in the browser; once it’s cached, it should no longer be displayed. Also, what could be done is to load the css faster; for this, the css can be set in the head of the website. Also, this is the css adjusted, it will make the results for the news ticker to look like this https://prnt.sc/a3SGi5d8_TF5 :

@media (max-width: 767px) {
body .td-trending-now-display-area {
top: 2px;
}
body .td-trending-now-display-area .td_module_trending_now .entry-title {
line-height: 26px;
}
.td_block_trending_now {
padding: 0 6px 0 20px;
}
}

Set the css in the theme panel > analytics/js code in head section and make sure that you set it between css tags like this – https://prnt.sc/DHl1atBWUwVt

Post count: 118

When i past The code This Hapened

Post count: 118

I will Send You My WordPress Email admin reall i need to Fix Two Issue Number1 this raw forheadpost Number2 Contact Not Sending Thank You

Post count: 118

This is My Gmail for personal maxamedbashr@gmail.com Remeber Also I am The Owner Of Maslaxcabletv

Post count: 35449

Hi,
The code appears on your site because you didn’t set it before the style tags as I mentioned and indicated in the provided image.

Post count: 118

i copy your code and past thats all idont forget any style chechk your code and send me clear

@media
(max-width: 767px) {
body .td-trending-now-display-area {
top: 2px;
}
body .td-trending-now-display-area .td_module_trending_now .entry-title {
line-height: 26px;
}
.td_block_trending_now {
padding: 0 6px 0 20px;
}
}

Post count: 35449

Hi,
The code provided is without the style tags, because setting them here in a reply will change the code structure, but it should be like this https://prnt.sc/DHl1atBWUwVt I set the code with tags here https://pastebin.com/KJK8r8td

Post count: 118

fixed thank you sir

Viewing 22 posts - 1 through 22 (of 22 total)
You must be logged in to reply to this topic.