aditya243
Forum Replies Created
-
Yes, I did try this but it is not making any change. Let me tell you again that I am getting a small vertical line at the end of all menu items and submenu items. Though I want that line in menu items but not in submenu. I tried your code exactly but it is not making any change so I am sharing the code to rectify if anything else is creating a conflict.
.main-navigation .main-nav ul li a {
color: #222222 !important;
}
.main-navigation .main-nav ul li a:hover {
color: #03c4eb !important;
}
.main-navigation {
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
.main-navigation .main-nav > ul > li a::after {
content: “”;
width: 1px;
position: absolute;
top: 18px;
right: 0;
height: 23px;
background: #dddddd;
}
.main-navigation .main-nav ul ul li a{
text-transform: none;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
text-align: left;
padding-top: 15px;
padding-bottom: 15px;
}.main-navigation .main-nav ul ul li:not(:last-child) a{
border-bottom: 1px solid;
border-color: #83918b;
}Sorry to bother you again but seems like the above issue is still not resolved as the code provided by you is not making any change however when I worked with?lia?together that is with this :
.main-navigation .main-nav > ul > lia::after it also removed my lines from Menu items which I want and just want it to be removed from Sub menuThanks it worked but with lia together that is with this :
.main-navigation .main-nav > ul > lia::after
Thanks for rectifying and providing the resolution.Forum: Themes and Templates
In reply to: [GeneratePress] ExcerptThanks for the code Ying. Can you help me with the box part too as shared here DeshiBulls. This site contains the posts on Home page and that too with each post in a separate container?
Forum: Themes and Templates
In reply to: [GeneratePress] ExcerptAlso, is it possible to create a Home page like this in Generate press free version, where the featured image is showing in left and excerpt is showing right with read more button below. Please let me know how can I exactly have the same home page like this : DeshiBulls
Hi there,
While my problem of banner not appearing on first page solved however when I have selected my home page as the Home under reading<<static it is not showing my recent posts on my home page. The problem appears to be same as it was with the banner not appearing. Rather my recent posts are not appearing anywhere. Please look into this.
I want my “Home” page to be the page which shows all my recent posts by having it selected as Home page under reading<<static and not by selecting the latest posts under reading section as selecting latest posts is also changing my URL of my “Home” page to domain-name/home. So, I want my “Home” page URL, the same that of my domain address and wanted the latest posts to show on Home page.
How can I do that?
The below is the PHP code I have usedadd_action( ‘generate_after_content’,’gp_custom_display_tags’ );
function gp_custom_display_tags() {
if(is_single()) {
$post_tags = get_the_tags( get_the_ID() );
$tags_content = ‘‘; if( $post_tags ) { foreach($post_tags as $tag) { $tag_link = get_tag_link( $tag->term_id ); $tags_content = $tags_content . ‘‘ . $tag->name . ‘‘; } } $tags_content = $tags_content . ”;
echo $tags_content;
}
}
add_action( ‘generate_after_entry_header’,’gp_custom_thumbnail_image’ );
function gp_custom_thumbnail_image() {
if(is_single()) {
$feat_image = wp_get_attachment_url( get_post_thumbnail_id(get_the_ID()) );
echo ‘‘;
}
}//add_action( ‘generate_before_main_content’,’gp_custom_blog_title_section’ );
function gp_custom_blog_title_section() {
if(is_home()) {
echo ‘// Latest Blog Posturabitur lorem dui, mollis eu quam quis, lacinia aliquam libero. Fusce eu leo lectus. Donec neque felis, mattis ac facilisis porta, semper at eros. In hac habitasse platea dictumst.’;
}
}add_action( ‘generate_before_entry_title’,’gp_custom_before_title’ );
function gp_custom_before_title() {
$post_categories = wp_get_post_categories(get_the_ID(), [ ‘fields’ => ‘all’ ]);
$category_content = ‘‘; if( $post_categories ) { foreach($post_categories as $c) { $category_link = get_category_link( $c->term_id ); $category_content = $category_content . ‘‘ . $c->name . ‘‘ . ‘ / ‘; } $category_content = rtrim($category_content, ‘ / ‘); } $category_content = $category_content . ”;
echo $category_content;
}add_filter( ‘generate_post_date_output’,’gp_custom_add_to_post_date’ );
function gp_custom_add_to_post_date( $output ) {
return ‘‘ . $output; } add_filter( ‘generate_post_author_output’,’gp_custom_add_to_post_author’ ); function gp_custom_add_to_post_author( $output ) { return $output . ”;
}
add_filter( ‘generate_leave_comment’,’gp_custom_remove_comment_link’ );
function gp_custom_remove_comment_link() {
return false;
}add_filter( ‘generate_show_comments’, ‘__return_false’ );
add_filter( ‘generate_show_tags’, ‘__return_false’ );
add_filter( ‘generate_show_categories’, ‘__return_false’ );add_filter( ‘generate_excerpt_more_output’, ‘gp_custom_read_more’ );
function gp_custom_read_more() {
return ‘Continue Reading →‘;
}
add_action( ‘after_setup_theme’, function() {
remove_action( ‘generate_before_content’, ‘generate_featured_page_header_inside_single’, 10 );
} );- This reply was modified 2 weeks, 5 days ago by aditya243.
- This reply was modified 2 weeks, 5 days ago by Steven Stern (sterndata).
Solved
Forum: Themes and Templates
In reply to: [GeneratePress] Navigation Menu is Mobile not behaving properlyThe problem is solved as I got the resolution from my hosting provider regarding this issue.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin creating issue in Navigation MenuYes, I tried it before your reply and the problem was solved. Thanks for the resolution.
Thank you very much Ying, that worked and thank you for the information too.
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin creating issue in Navigation MenuAny update?
Forum: Themes and Templates
In reply to: [GeneratePress] Issue with website navigation menu pagesCan’t edit as I am not getting the option to do the same
Forum: Themes and Templates
In reply to: [GeneratePress] Navigation Menu is Mobile not behaving properlyPlease remove my URL mentioned under The page I need help with. I don’t want it to be displayed
Forum: Themes and Templates
In reply to: [GeneratePress] Issue with website navigation menu pagesRemove the URL I don’t want it to be displayed
Forum: Themes and Templates
In reply to: [GeneratePress] Issue with website navigation menu pagesPlease remove my URL provided under the page I need help with in all the three issues mentioned yesterday.