$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>css - How to align full div|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

css - How to align full div

matteradmin7PV0评论
Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 6 years ago.

Improve this question

I want to align this scrolling events on the slider left to right but it's not working. Can anyone tell me the exact way to align it at the right side on the slider image using custom css?

 .un-post-scroller {
    position: absolute;
    float: right;
}
Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 6 years ago.

Improve this question

I want to align this scrolling events on the slider left to right but it's not working. Can anyone tell me the exact way to align it at the right side on the slider image using custom css?

 .un-post-scroller {
    position: absolute;
    float: right;
}
Share Improve this question edited Jan 20, 2019 at 16:51 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Jan 20, 2019 at 16:50 Md. Abu ZamanMd. Abu Zaman 1251 silver badge4 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

The main issue you are running into is that you are targeting the wrong element. The parent of .un-post-scoller is what has a limited width aligned to the left, so you won't escape that easily.

Instead, target its parent. Unfortunately there is not a particularly clean candidate here since the parent is a generic grid system class (col-md-5). Usually you want to use the grid system's class to move things over -- in the case of Bootstrap, that would be offset-md-7 (or slightly different depending on your version and which grid system you use).

That requires modifying the actual HTML. Since you asked specifically for how to do it with CSS, you might try something like:

.header-overlay-scroller .col-md-5 {
    float: right;
}

The header-overlay-scroller is just there so that not all .col-md-5 classes are targeted.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far