Jump to content

Please help me resolve some issues in Pages


salue

Recommended Posts

Alright so I have a question on ksalue.com I am using pages as a home page but when I Open an article it shows the featured image inside the post, how do I hide or remove the featured image from inside the post?

Also I have some other issues in the pages like ( Article Image does not work " inserting a link )  + ( Article Video  Does not work " Inserting a video link to show as a featured image/thumbnail/video instead of a picture) and 2 other issues I have wrote it on the picture of the posting area in the attached file

here is a picture of my posting area

kslaue page issues.png

Link to comment
Share on other sites

Try this:

.cCmsRecord_image {
    display: none;
}

 

Hey thanks but where do I input that code ? XD
this is my template 

CSS

<article class='cCmsCategoryFeaturedEntry {{if $record->hidden()}}ipsModerated{{endif}}'>
 <a href="{$record->url()}" title="{lang="read_more_about" sprintf="$record->_title"}">
 <div class="frontpage_firstitem" style="background-image: url({file="$record->record_image" extension="cms_Records"})" >
  <div class='frontpage_title'>        
   		<h2>
				{{if $record->prefix()}}
				{template="prefix" group="global" app="core" params="$record->prefix( TRUE ), $record->prefix()"}
				{{endif}}
          		{{if $record->unread()}}
				<span class='ipsItemStatus' data-ipsTooltip title="{lang="cms_unread_record"}"><i class="fa fa-circle"></i></span>
				{{endif}}
				{wordbreak="$record->_title"}
            	
		</h2>
	</div>
  </div> 
</a>
</article>

Index

<section class='ipsType_normal ipsSpacer_both'>
	{{if count($articles)}}
		{{foreach $articles as $id => $record}}
  			{{if $id === 0}}
			{template="entry" app="cms" location="database" group="testing-header" params="$record, $database"}
			{{else}}
  			{template="entry" app="cms" location="database" group="testing-other" params="$record, $database"}
            {{endif}}
		{{endforeach}}
	{{endif}}
</section>
{{if $database->featured_settings['pagination'] and ( $pagination['pages'] > 1 )}}
	{template="pagination" app="core" location="global" group="global" params="$url, $pagination['pages'], $pagination['page'], $database->featured_settings['perpage'], TRUE, 'page'"}
{{endif}}

{{if $database->can('add') or \IPS\Member::loggedIn()->member_id}}
	<ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">
		{{if $database->can('add')}}
			<li class='ipsToolList_primaryAction'>
				<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" {{if $database->use_categories}}data-ipsDialog="1" data-ipsDialog-size="narrow" data-ipsDialog-title="{lang="cms_select_category"}"{{endif}} href="{$url->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="$database->recordWord( 1 )"}</a>
			</li>
		{{endif}}
	</ul>
{{endif}}

 

Link to comment
Share on other sites

Customization -> Themes -> Edit Theme -> CSS Tab -> Core/Front/Custom/custom.css

Add it in there. Anything in the custom.css file *should* "overwrite" the other css files. Otherwise, drop an !important on the css tag.

 

Thank you it worked ! :D

 

Since I got ur attention do u know how to do this ?

how can I ad like a layer to make the title show in box on it's under a picture like the website and to add more space between the post boxes I want to have it on my website because it's hard to read the title when it's on images www.ksalue.com

 

Untitled.thumb.png.9c3c4a5803c06f5c391b5

Link to comment
Share on other sites

  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...